accessing html element by?
<p>I have textarea and I want to bind function textareaCount jquery plugin, to limit input character size.</p>

<p>As I use it in several places in my application, I cant use on Id then I generarte random Id:</p>

<pre><code>&lt;% int randomId = new Random().Next(10000, 99999); %&gt;
&lt;textarea id="textarea-message-&lt;%:randomId%&gt;"&gt;&lt;/textarea&gt;
&lt;script&gt;
$("#textarea-message-&lt;%:randomId %&gt;").textareaCount(...){...}
&lt;/script&gt;
</code></pre>

<p>Can I have better solution for this situation?</p>

<p>Edit: I load usercontrols via ajax into page. so in the page there textareas binded and new textareas to bind.</p>
