marking a radio button as checked jquery
<p>I am using the following code, why doesn't it work?</p>

<pre><code>javascript:$('input[id=mod1radio]:eq(1)').attr('checked', 'checked');
</code></pre>

<p>and </p>

<pre><code>&lt;input id="mod1radio" type="radio" name="group1" value="24"&gt;
</code></pre>
