jQuery.post establish data
<p>help solve the problem. We need to establish data for <code>jQuery.post</code> as:  </p>

<pre><code>{ var1:var1, var2:var2 }
</code></pre>

<p>from</p>

<pre><code>&lt;div&gt;var1&lt;/div&gt;
</code></pre>

<p>... which can be from 1 to 5.</p>

<p>I try:  </p>

<pre><code> var count = $('#hide').size();
 var i;
 var arr = new Array();
 var name = $('#hide').text();
 for (i=0; i&lt;=count; i++){
     arr.push(name);
 }
</code></pre>

<p>how establish data <code>{ var1:var1, var2:var2 }</code>?</p>
