Jquery [name=var] substitution
<p>Is there a way to use a variable in the name= parameter.</p>

<p>I would like to be able to do:</p>

<pre><code>var a = 1;

$("#gen_p").html($("input:radio[name='gen'+a]:checked").val()));
</code></pre>

<p>I am able to do <code>$("#gen_p"+a)</code> but not in the <code>[name=??]</code></p>

<p>Have I missed something?</p>

<p>Thanks</p>
