jQuery selectors don't support escaping characters. You would be better off adding a class to those inputs (e.g. "idinput") and selecting by that.

Blair

On 10/16/06, Jacky <[EMAIL PROTECTED]> wrote:
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
$("[EMAIL PROTECTED]")
but obviously I need to escape the ']' character.
--
Best Regards,
Jacky
http://jacky.seezone.net

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to