Using jQuery, I would like to, without changing the disabled
attribute of a given button, disable all click events for it.
I was thinking of retrieving the click event handlers, unbind them, and storing them (say, using data()
).
Then I can re-bind them once the button is enabled again.