title: Button should remain disabled after the page refresh
body: <p>i applied disability for some time on submit button....after some time its gets enabled..i.e. after 15sec....bt if i am refreshing the page then the button gets enabled...the button lost the diable time and gets enable...please help me..</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$(window).load(function(){
  var enableSubmit = function(ele) {
      $(ele).removeAttr("disabled");
  }
  
  $("#submit").click(function() {
      var that = this;
      $(this).attr("disabled", true);
      setTimeout(function() { enableSubmit(that) }, 15000);
  });
  }); 
  
  
      var count = 1;
      function setColor(btn, color) {
          var property = document.getElementById(btn);
          if (count == 0) {
              property.style.backgroundColor = "#FFFFFF"
              count = 1;        
          }
          else {
              property.style.backgroundColor = "#7FFF00"
              count = 0;
          }
      }</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>&lt;style type="text/css"&gt;
  input[disabled] {
   background-color:#FF6347;
  }
  &lt;/style&gt;</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;input type="button" id="submit" value="submit" class="btn" /&gt;</code></pre>
  </div>
  </div>
  </p>