title: Get value of inputs with Jquery
body: <p>I have 100 inputs with the name <code>table[]</code>. How can I get their value with jQuery, as an array?</p>
  
  <p>I am trying to do something like <code>$_POST['table']</code> in PHP.</p>
  
  <p>I tried the following code, but I want the values as an array...</p>
  
  <pre><code>$("input[name='table[]']").each(function(){document.write($(this).val());});
  </code></pre>