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()); }); Code (markup): but I want to get them as an array.