March 11, 2010 in webmaster by admin
-
I have 100 inputs with name – table[].
How to get their value with jQuery,like $_POST['table'] ,as I do in PHP.
I tryed
$("input[name='table[]']").each(function() { document.write($(this).val());
});
but I want to get them as an array.
|
|
|
 |
Tags: array, input name, jQuery, name, quot, table, value