I'm using jQuery to enable/disable a text-area, upon clicking two radio buttons. Here is my code:
HTML
<form>
   <input type="radio" id="aa" name="candidates">1 <br>
   <input type="radio" id="bb" name="candidates">2<br>
</form>
<textarea rows="2" id="candidateTextArea" style="width: 100%;">adadsajsd</textarea>
jQuery
$("#aa").change(function() { 
                    console.log("change in aa"); 
            $("#candidateTextArea").attr("disabled", "true"); 
      }
); 
$("#bb").change(function() { 
                    console.log("change in bb"); 
            $("#candidateTextArea").attr("disabled", "false"); 
      }
);
http://jsfiddle.net/uu1kje5x/5/
In practice what I see is that the text-area becomes disabled, and never gets active again. Any ideas why this doesn't work?
 
     
     
     
    