Fast searching with jquery selector

If you wish to use any of the meta-characters (#;&,.+*~':"!^$[]()=>|/ ) as a literal part of a name, you must escape the character with two backslashes: \\. For example, if you have an an input with name="names[]", you can use the selector$("input[name=names\\[\\]]").

0 comments:

Post a Comment