Those name are generated by struts for binding collection. Just can't avoid it. I will assign a class name for access instead.
On 10/17/06, Su <[EMAIL PROTECTED]> wrote: > And, as with a similar question last week, those name values are just > plain invalid: > > http://www.w3.org/TR/html4/types.html#type-name > > > > Blair McKenzie wrote: > > 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] <mailto:[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. > > -- > > > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > -- Best Regards, Jacky 網絡暴民 http://jacky.seezone.net _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
