I have a button control. Once the user clicks on it, the click event should fire and then the button should get disabled. How can I do this? I have the option to use JQuery
// to disable this.setAttribute('disabled', true); // to enable this.removeAttribute('disabled');
this is a cross browser solution