Sunday, March 26, 2017
Enable/Disable input type Button using JQuery
HTML
<input type="button" disabled value="Submit" id="button-submit"/>
JavaScript
//To enable
$('#button-submit').button('enable');
//To disable
$('#button-submit').button('disable);
Labels:
JQuery
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment