title: Send input array with jquery Post without submitting form
body: <p>I need to Post data to an url without submitting a form and reloading the page but I'm not too good with JQuery.  How would I execute something along the lines of this 
  html:</p>
  
  <pre><code>&lt;input type="text" name="name"&gt;
  &lt;input type="text" name="stuff[]"&gt;
  &lt;input type="text" name="stuff[]"&gt;
  &lt;input type="text" name="stuff[]"&gt;
  &lt;input type="text" name="stuff[]"&gt;
  &lt;button onclick="send()"&gt;send&lt;/button&gt;
  </code></pre>
  
  <p>JQuery:</p>
  
  <pre><code>function send() {
  params= {'name': $('#name').val(), 'stuff': $('#stuff[]').val()};
  $.post( "url/test", params );
  }
  </code></pre>