javascript disable button after click for seconds

 

 

 

 

In other words greyed out for some seconds after clicking that button. How can I accomplish this with js?RecommendEnable a disabled button and click it with Javascript. hrome but not in Firefox. javascript - Disabling the button after I need to disable a button once its clicked so the user cant click it more than once. (My application is written in MVC ASP.NET, Ive done this in a normal ASP.NET To disable the button if and after validation has succeeded, just as the page is doing a server postback.