title: Bug With Firefox - Disabled Attribute of Input Not Resetting When Refreshing
body: <p>I've found what I believe to be a bug with Firefox and I'm wondering if this actually is a bug, as well as any workarounds for this.</p>
  
  <p>If you create a basic webpage with the following source:</p>
  
  <pre><code>&lt;html&gt;
    &lt;head&gt;
      &lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js"&gt;&lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;div&gt;
        &lt;input id="txtTest" type="text" /&gt;
        &lt;input type="button" onclick="$('#txtTest').attr('disabled','disabled');" value="Set Disabled (jQuery)" /&gt;
        &lt;input type="button" onclick="document.getElementById('txtTest').disabled = true;" value="Set Disabled (js)" /&gt;
        &lt;input type="button" onclick="$('#txtTest').removeAttr('disabled');" value="Remove Disabled" /&gt;
      &lt;/div&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>If you <code>disable</code> the <code>textbox</code> dynamically and then refresh the page, the <code>textbox</code> will remain disabled instead of resetting back to its original state of not disabled. I've tried this in IE8 and Chrome and those behave as I would expect, resetting the <code>textbox</code> back to not disabled when I refresh.</p>
  
  <p>Another interesting bit of information is that it still does the same thing if the input is a <code>checkbox</code> instead of a <code>textbox</code>.</p>