title: jQuery radio group validation and enable option if certain radio checked (jsfiddle provided)
body: <p>I am new to jQuery.</p>
  
  <p>How would I go about checking to see if one of the radio buttons is checked, and if other is checked, then enable the text option.  If not, then disable it.  I didn't put full code here, but it is more or less the same.</p>
  
  <p><a href="http://jsfiddle.net/Opetus/8Ahcz/" rel="nofollow">http://jsfiddle.net/Opetus/8Ahcz/</a></p>
  
  <p>HTML
      <code>&lt;table&gt; 
        &lt;tr&gt;
          &lt;td id="second"&gt;
            &lt;input type="radio" name="inquire" id="9" class="css-checkbox"/&gt;
            &lt;label for="9" class="css-label radGroup1 radGroup2"&gt;3D&lt;/label&gt;
          &lt;/td&gt;
          &lt;td id="second"&gt;
            &lt;input type="radio" name="inquire" id="10" class="css-checkbox" /&gt;
            &lt;label for="10" class="css-label radGroup1 radGroup2"&gt;Coding&lt;/label&gt;
          &lt;/td&gt;
          &lt;td id="opt"&gt;
            &lt;input type="radio" name="inquire" id="11" class="css-checkbox" /&gt;
            &lt;label for="11" class="css-label radGroup1 radGroup2"&gt;Other:&lt;/label&gt;
            &lt;input type="text" name="other" id="other" /&gt;
          &lt;/td&gt;
        &lt;/tr&gt;
      &lt;/table&gt;</code></p>
  
  <p><strong>Answered</strong></p>
  
  <pre><code>`$('.css-checkbox').click(function(){
        alert($(this).attr('id'));
       if($(this).attr('id') == 11)
           $('#other').prop('disabled', false);
       else
       {
          $('#other').prop('disabled', true);
          $('#other').val('');
       }
    });`
  </code></pre>
  
  <p><strong>Note</strong>
  If adding a color box to this, put color-box code AFTER the answer above.  If not, it will void the submission.</p>