How to pass ASP.NET server side tags with JS parameters
<p>I have a loop in JS, and I want to pass each parameter in that loop to a function in ASP.NET in the codebehind.</p>

<p>something like that:</p>

<pre><code>for (var i = 0; i &lt; elements.length; i++)
    {                    

    }
</code></pre>

<p>And I want to pass a function in &lt;%%> the elements[i].</p>

<p>How can I do that?</p>

<p>thanks!</p>
