[jQuery] Re: Elements with similar names

2009-09-26 Thread Carlos Santos
Thanks for all answers! On Sep 25, 11:21 pm, "comslash.com" wrote: > wow way to many of us jumped on that post at the same time > > On Sep 25, 10:19 pm, "comslash.com" wrote: > > > > > try > > > $('input[name^=tx_qtde]') > > > try this page for reference on selectorshttp://docs.jquery.com/Selec

[jQuery] Re: Elements with similar names

2009-09-25 Thread comslash.com
wow way to many of us jumped on that post at the same time On Sep 25, 10:19 pm, "comslash.com" wrote: > try > > $('input[name^=tx_qtde]') > > try this page for reference on selectorshttp://docs.jquery.com/Selectors > > Chris > > On Sep 25, 10:12 pm, Carlos Santos wrote: > > > I have in one form

[jQuery] Re: Elements with similar names

2009-09-25 Thread comslash.com
try $('input[name^=tx_qtde]') try this page for reference on selectors http://docs.jquery.com/Selectors Chris On Sep 25, 10:12 pm, Carlos Santos wrote: > I have in one form, many, many text fields with similar names such > as: > > tx_qtde1 > tx_qtde2 > tx_qtde3 > > how i can select all this t

[jQuery] Re: Elements with similar names

2009-09-25 Thread Charlie Griefer
$('input[name^=tx_qtde]') See "Attribute Filters" at http://docs.jquery.com/Selectors On Fri, Sep 25, 2009 at 7:12 PM, Carlos Santos wrote: > > I have in one form, many, many text fields with similar names such > as: > > tx_qtde1 > tx_qtde2 > tx_qtde3 > > how i can select all this text fields wi

[jQuery] Re: Elements with similar names

2009-09-25 Thread James
http://docs.jquery.com/Selectors Look at the Attribute filters. Assuming they're all INPUT fields: $("input[name^=tx_qtde]") which means all input fields with NAME that begins with 'tx_qtde' Otherwise you can just drop the 'input' $("[name^=tx_qtde]") but it'll look through all element types. O