how to post data as an array using jquery for multiple same field names -


i have 1 form there same text field names, 5 columns , 5 rows in form, each column of rows had same text field names. problem how send data using jquery array.

example form:

<input type="text" name="fname[]" />  <input type="text" name="fname[]" />  <input type="text" name="fname[]" />  <input type="text" name="fname[]" />  <input type="text" name="fname[]" />  <input type="text" name="lname[]" />  <input type="text" name="lname[]" />  <input type="text" name="lname[]" />  <input type="text" name="lname[]" />  <input type="text" name="lname[]" />  <input type="text" name="age[]" />  <input type="text" name="age[]" />  <input type="text" name="age[]" />  <input type="text" name="age[]" />  <input type="text" name="age[]" /> 

please tell me how do.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -