Posted By

jackkeller on 11/01/11


Tagged

jquery


Versions (?)

Disable / Re-enable Inputs


 / Published in: JavaScript
 

  1. //Disable:
  2. $("#submit-button").attr("disabled", true);
  3.  
  4. //Re-enable:
  5. $("#submit-button").removeAttr("disabled");

Report this snippet  

You need to login to post a comment.