I need to remove CSS hover functionality using JavaScript.

I have a button on a form which submits data to our db server. Using OnClientClick() of an ASP.NET Button control I would like to change the element's text to 'Submitting..' using getElementById(), change the background color of the button to Light Grey and more importantly disable the following .button:hover effect I have in my CSS.

.content-form input.button:hover, 
#comment-form #submit:hover   
    background-color: #333;

All I am really interested in is the Javascript to remove/disable the above CSS

e.g. OnClientClick="getElementByID('ButtonName').blahblahblah;"

Related posts

Recent Viewed