Set selected radio from radio group with a value
<p>Why am I struggling with this?</p>

<p>I have a value: 5</p>

<p>How do I check the radio button of group "mygroup" with the value of 5?</p>

<pre><code>$("input[name=mygroup]").val(5); // doesn't work?
</code></pre>
