Disable tr with radio box using JQUERY
<p>I have code as below:</p>

<pre><code>$(document).ready(function(){
        $(".trHide input:radio").attr('disabled',true);
     });
 &lt;tr&gt;
      &lt;td&gt;&lt;ul type="circle"&gt;
          &lt;li&gt;9. Capacité à rendre compte&lt;/li&gt;
        &lt;/ul&gt;&lt;/td&gt;
      &lt;td&gt;&lt;/td&gt;
      &lt;td&gt;&lt;input class="validate[required] radio" type="radio" name="number9" value="1" &lt;?php if($value['9.CapasityRendre'] == 1):?&gt;checked='checked'&lt;?php endif; ?&gt;&gt;&lt;/td&gt;
      &lt;td&gt;&lt;input class="validate[required] radio" name="number9" type="radio" value="2" &lt;?php if($value['9.CapasityRendre'] == 2):?&gt;checked='checked'&lt;?php endif; ?&gt;&gt;&lt;/td&gt;
      &lt;td&gt;&lt;input class="validate[required] radio" name="number9" type="radio" value="3" &lt;?php if($value['9.CapasityRendre'] == 3):?&gt;checked='checked'&lt;?php endif; ?&gt;&gt;&lt;/td&gt;
      &lt;td&gt;&lt;input class="validate[required] radio" name="number9" type="radio" value="4" &lt;?php if($value['9.CapasityRendre'] == 4):?&gt;checked='checked'&lt;?php endif; ?&gt;&gt;&lt;/td&gt;
      &lt;td&gt;&lt;input class="validate[required] radio" name="number9" type="radio" value="5" &lt;?php if($value['9.CapasityRendre'] == 5):?&gt;checked='checked'&lt;?php endif; ?&gt;&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr class="trHide"&gt;
      &lt;td&gt;&lt;ul type="circle"&gt;
          &lt;li&gt;10. Capacité à faire des choix et à prendre des décisions&lt;/li&gt;
        &lt;/ul&gt;&lt;/td&gt;
      &lt;td&gt;&lt;/td&gt;
      &lt;td&gt;&lt;input class="validate[required] radio" type="radio" name="number10" value="1"&lt;?php if($value['10.CapaciteFair'] == 1):?&gt;checked='checked'&lt;?php endif; ?&gt;&gt;&lt;/td&gt;
      &lt;td&gt;&lt;input class="validate[required] radio" name="number10" type="radio" value="2"&lt;?php if($value['10.CapaciteFair'] == 2):?&gt;checked='checked'&lt;?php endif; ?&gt;&gt;&lt;/td&gt;
      &lt;td&gt;&lt;input class="validate[required] radio" name="number10" type="radio" value="3"&lt;?php if($value['10.CapaciteFair'] == 3):?&gt;checked='checked'&lt;?php endif; ?&gt;&gt;&lt;/td&gt;
      &lt;td&gt;&lt;input class="validate[required] radio" name="number10" type="radio" value="4"&lt;?php if($value['10.CapaciteFair'] == 4):?&gt;checked='checked'&lt;?php endif; ?&gt;&gt;&lt;/td&gt;
      &lt;td&gt;&lt;input class="validate[required] radio" name="number10" type="radio" value="5"&lt;?php if($value['10.CapaciteFair'] == 5):?&gt;checked='checked'&lt;?php endif; ?&gt;&gt;&lt;/td&gt;
    &lt;/tr&gt;
</code></pre>

<p><strong>I need:</strong></p>

<p>I want to disable all the radio box in tag <code>&lt;tr class="trHide"&gt;</code> .</p>

<p><strong>Problem:</strong></p>

<p>It dose not work.how would I fix this? Anyone help me please,Thanks.</p>
