How to enable/disable jQuery UI Button

In this post, find out way to enable or disable jQuery UI button. The jQuery UI Button provides enable and disable methods which change the status of the jQuery UI button.

To enable the button,
$("#btnDemo").button("enable");
To disable the button,
$("#btnDemo").button("disable");
See result below


See Complete Code
Feel free to contact me for any help related to jQuery, I will gladly help you.
SHARE

Nothing shocks me, I'm a Software Engineer. And I am not young enough to know everything. I live in World Wide Web and from there take care of this website. This website communicates about my work, learning and experience. I believe life is short, and it is for loving, sharing, learning and connecting. So lets connect..