How to select nested radiobutton with jQuery?
<p>I have the following code:</p>

<pre><code>&lt;form class="form-inline" id="myform0"&gt;    
    &lt;fieldset&gt;                  
        &lt;label class="radio"&gt;&lt;input type="radio" name="optionsRadios" id="optionHere2" value="2"&gt;Yes&lt;/label&gt;
        &lt;label class="radio"&gt;&lt;input type="radio" name="optionsRadios" id="optionHere1" value="1"&gt;No&lt;/label&gt;            
        &lt;label class="radio"&gt;&lt;input type="radio" name="optionsRadios" id="optionHere3" value="3"&gt;Not decided&lt;/label&gt;                        
    &lt;/fieldset&gt;                 
&lt;/form&gt;
&lt;form class="form-inline" id="myform1"&gt;    
    &lt;fieldset&gt;                  
        &lt;label class="radio"&gt;&lt;input type="radio" name="optionsRadios" id="optionHere2" value="2"&gt;Yes&lt;/label&gt;
        &lt;label class="radio"&gt;&lt;input type="radio" name="optionsRadios" id="optionHere1" value="1"&gt;No&lt;/label&gt;            
        &lt;label class="radio"&gt;&lt;input type="radio" name="optionsRadios" id="optionHere3" value="3"&gt;Not decided&lt;/label&gt;                        
    &lt;/fieldset&gt;                 
&lt;/form&gt;
</code></pre>

<p>What I want to do is be able to programatically select a radio button in each group.  Everything I tried so far has not worked.  Thoughts?</p>

<p>Edit:</p>

<p>This selects all of them:
    $("input[name=optionsRadios][value=1]").attr('checked', 'checked');</p>

<p>I am just looking to select a specific one.</p>
