[jQuery] Escaping string in css selectors?
Is there a way to escape special character is selector?
e.g.
<input type="text" name="row[0]id" />
<input type="text" name="row[0]locationid"/>
<input type="text" name="row[1]id"/>
<inpu type="text" name="row[1]locationid"/>
say i want to select all id inputs, I should use something like
$("input[@name$=]id]")
but obviously I need to escape the ']' character.
--
Best Regards,
Jacky
http://jacky.seezone.net
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/