Toggle disabled property using jQuery's prop() doesn't work
<p>First, <a href="http://jsfiddle.net/kqnZz/3/" rel="nofollow">the fiddle</a>. </p>

<pre><code>$('#enableButtonB').click(function (e) {
   if($(e.target).is(':checked'))
   {
       $('#myButtonB').removeProp('disabled');
       alert('Enable Button B');
   }
   else
   {
       $('#myButtonB').prop('disabled', true); 
       alert('Disable Button B');
   }
});
</code></pre>

<p>I'm trying to use jQuery's <code>.prop()</code> and <code>removeProp()</code> methods to enable and disable a button based on some criteria. It seems to work fine until <code>removeProp()</code> is called on the element. After that any subsequent calls to <code>prop()</code> fail to disable to button.</p>

<p>What's the proper way to enable and disable an element repeatedly?</p>
