How To Disable A Button In A jQuery UI Dialog

Important Note: This solution REQUIRES jQuery UI 1.8 or better and the .button()
plugin/widget (contained in the full download):
1 |
jQuery(".ui-dialog-buttonpane button:contains('Save')").button("disable"); |
Original Post: http://stackoverflow.com/questions/3646408/how-can-i-disable-a-button-on-a-jquery-ui-dialog
Leave Your Comment
All fields marked with "*" are required.