passing row number of a listview to javascript function
<p>What's wrong with this piece of code?</p>

<pre><code>onclick="javascript:myclick('&lt;%# Container.DataItemIndex %&gt;')"
</code></pre>

<p>I am trying to pass the rowNumber of a listview control to javascript function "myclick". The above code passes all the string "&lt;%# Container.DataItemIndex %>" as parameter (without quotes). But I want just the counter (1,2,...)</p>

<p>Any correction/ suggestion?</p>

<p>Thanks</p>
