title: jQuery: Checking for disabled attribute and adding/removing it?
body: <p>I select all input elements of a form like this:</p>
  
  <pre><code>var fields = $( form + " :input" ).not( "button" );
  </code></pre>
  
  <p>How do I check if any of these inputs has the <code>disabled</code> attribute set and remove it when present?</p>
  
  <p>Also, I need to add it after is has been removed (and serialize the fields in between), is there an elegant way for this? Something like <code>toggle</code> but for attributes?</p>