Submit Javascript variable PLUS form data to ASP.NET
<p>I have this code:</p>

<pre><code>var myArray = new Array();
var counter = 0;
function addElementToForm(value){
    counter ++;
    if (counter &lt; 10)
    {
        $("#cheese").append(value + '&lt;input type="number" value="0"&gt;&lt;br /&gt;');
        myArray.push(counter + value);
    }
};
</code></pre>

<p>I have an ASP.NET form on the same page, in the same action of the sumbit button for the form, I want to be able to access myArray from the codefile as well!!</p>
