title: Disabling an element in jquery 1.6
body: <p>With the release of jQuery 1.6, the recommendation on SO has been to generally start using <a href="http://api.jquery.com/prop/" rel="noreferrer"><code>prop()</code></a> where you used to use <code>attr()</code>. </p>
  
  <p>What happens when I want to disable an element? </p>
  
  <pre><code>$('.control').prop('disabled', 'disabled');
  $('.control').prop('disabled', true);
  </code></pre>
  
  <p>Neither of these seem to disable the control. Is disabling an element the exception to the rule?</p>
  
  <p><strong>UPDATE</strong>
  And turns out the reason the element wasn't being disabled was because of a line I had that ran before the lines above:</p>
  
  <pre><code>$('.control').removeProp('disabled');
  </code></pre>
  
  <p>In enabling controls, I had got used to using .removeAttr() so figured .removeProp would be enough. Instead, use the following to enable controls:</p>
  
  <pre><code>$('.control').prop('disabled', false);
  </code></pre>