Hi,

I have an text field whose ID is something like 'j_id1:username'. Now
if I try to retrieve the input field using jQuery('#j_id1:username'),
it does not work. It is only reading the id until the semicolon and
thus looking for an element with id 'j_id1'.

I can not avoid having semi colons as this is a framework generated
code and it happens to be a standard convention. Is there any way I
can escape the semicolon or some how access the fields with semicolon
in the IDs?

Please not that I have to access the fields by IDs. I know that the
ostensible work around is to use other attributes (like class). But
there are other constrains that keep me from doing this.

any help is greatly appreciated.

Thanks,
Phani

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to