Jquery post a Array
<p>I am having a Array which is generated by my Javascript in run time.
once that array is full with all the values I want to send it using POST to the server.
How can I do that ...</p>

<p>Pseudo code:</p>

<pre><code> for(i=0;i&lt;result.data.length;i++)
         {
           result.data[i].id

    }   
   $.post("receiver.php", { xxxxx }, function(data){ console.log(data);});
</code></pre>

<p>How can I get that xxxx updated in the post</p>

<p>I checked the documentation in jquery but they are expecting to give all the values in POST.I do not want to do that.
Also, I want to send post only once so that traffic will be less.</p>
