Radio button groups
<p>I have a radio button group (see code below)  :</p>

<pre><code>&lt;tr&gt;
                &lt;td&gt;
                    Total Meter :
                &lt;/td&gt;  
                &lt;td style="width:10px;"&gt;&lt;/td&gt;
                &lt;td&gt;
                    &lt;input type="radio" name="rdoInput" value="Yes" style="border-style:none;" /&gt; Yes
                &lt;/td&gt;
                &lt;td style="width:10px;"&gt;&lt;/td&gt;
                &lt;td&gt;    
                    &lt;input type="radio" name="rdoInput" value="No" style="border-style:none;" /&gt; No
                &lt;/td&gt;
            &lt;/tr&gt;
</code></pre>

<p>My question is, how do I set and get the value of these?  I have tried this syntax to set the values, but it does not work :</p>

<pre><code>if (msg.d.Input == true) {
                         $('input[name="rdoInput"]').attr('checked', true);
                     }
                     else {
                         $('input[name="rdoInput"]').attr('checked', false);
                     }
</code></pre>

<p>Any help would be much appreciated!</p>
