title: Enable and Disable Textboxes jquery
body: <p>I have enabled mutiple textboxes with jQuery. But I am not sure how to re-enable them if it the radio button is not selected. What modifications would I have to make to my current code?</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
  $(document).ready(function() {      
  
      $(":radio[id^=check]").click(function() {
          var textId = "#" + this.id.replace("check", "text");
          $(textId).removeAttr("disabled", "disabled").css('background-color', '#99FF66')
      });
  
  //alert("test");
  
  });
  &lt;/script&gt;
  </code></pre>