title: How to merge a serialize date with an array for ajax post?
body: <p>How can I merge a serialize date with an array with jquery for ajax post?</p>
  
  <p>For instance,</p>
  
  <pre><code>var array = { name: "John", time: "2pm" };
  
  $.post( "page.php", $("form").serialize() + array);
  </code></pre>
  
  <p>I get this,</p>
  
  <pre><code>Array
  (
      [url] =&gt; another test
      [page_id] =&gt; 140
      [method] =&gt; update[object Object]
  )
  </code></pre>
  
  <p>What can I do so I can merge them and get this as my result below?</p>
  
  <pre><code>Array
  (
      [url] =&gt; another test
      [page_id] =&gt; 140
      [method] =&gt; update
      [name] =&gt; John
      [time] =&gt; 2pm
  )
  </code></pre>