Created
December 30, 2011 06:51
-
-
Save dustinsmith1024/1538333 to your computer and use it in GitHub Desktop.
JQuery disabling buttons
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//jQuery UI Button: | |
$("a.my-button" ).button({ disabled: true }); | |
//Normal Button: | |
$("#button").attr("disabled",true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment