title: Jquery post array via ajax
body: <p>I have an array (for checkboxes) that I need to pass alongside the regular form in an ajax post, but can't seem to get this to work:</p>
  
  <pre><code>new_data = [a,b,c,d,e];
  
  somedata_assoc = JQuery.param({'choices[]': new_data});
  
      $.ajax({
          type: "POST",
       url: contract_qurl,
       data: $(div).find("form").serialize()+"&amp;"+somedata_assoc,
       context: $(this),
       success: function(data) { $("#results_table").html(data); }
      });
  </code></pre>