jquery elementby class and set name
<p>can some one help me with code to get element by classname and also change the name </p>

<p>currently ive tried</p>

<pre><code>$('selected').attr("name", 'blah blah');
</code></pre>

<p>and also</p>

<pre><code>$('.selected').attr("name", 'blah blah');
</code></pre>

<p>noneof these work
thanks</p>
