title: How to change color on button when disabled then turn back when enabled
body: <p>I have a button that is pre-styled so the disabled color doesn't look disabled when the button is disabled. I can't take off the prestyling so what I want to do is say something like:</p>
  
  <p>if button is disabled, show this color, else return this color.</p>
  
  <p>The code below shows a button that is disabled for 30 seconds on page load.</p>
  
  <pre><code>&lt;script type="text/javascript" &gt;
    window.onload = function()
        {
           var btn = document.getElementsByName('submit')[0];
           btn.disabled  = true;
  
           setTimeout(function(){btn.disabled  = false;}, 30000);
  
        };
  </code></pre>
  
  <p></p>