[jQuery] Re: how to access the value of multiple textbox of same name.

2009-08-27 Thread rupak mandal
thanks lanxiazhi., It works On Wed, Aug 26, 2009 at 11:24 PM, lanxiazhi wrote: > var values=$('input[name="location[]"]').map(function() > { > return $(this).val() > } > ).get(); > this will return an array of values. > 2009/8/27 Rupak > > >> Hi all. >> >> I have n number of text box (n may

[jQuery] Re: how to access the value of multiple textbox of same name.

2009-08-27 Thread lanxiazhi
var values=$('input[name="location[]"]').map(function() { return $(this).val() } ).get(); this will return an array of values. 2009/8/27 Rupak > > Hi all. > > I have n number of text box (n may be any number) with same name. And > I want to access the value of all the text box of that name. > >