How can i disable the jquery UI dialog buttons like :
$("#dialog").dialog({ width: 500, modal: true, show: 'drop', hide: 'drop',
buttons: {
"Next": function () {/* do something */ },
"Finish" : function {/* do something */ }
}
});
I want to keep disabled the Next button until user selects some radio button or checkbox and when user will select any of then 'Next button will enabled'. (Same behavior which we can see when we install any new software.).How can i do this?
You can use firebug or inspect element from google chrome then find next button id or css rule… I mean a correct selector to the button then you can always call
re enable by
hope this help
PS:
When inspect i saw
so you can call