Javascript parse array into input parameter
<p>I have dynamic array (object)</p>

<pre><code>var variables = {};

variable["var1"] = someValue;
variable["var2"] = someValue;
...
variable["varN"] = someValue;
</code></pre>

<p>and how I can put it into this fce:</p>

<pre><code>$("#uploadForm").ajaxSubmit({
   data: { variables }
});
</code></pre>
