I have a submit button that I am applying CSS styles (background image, font, etc.). I need a separate style applied to the button when it is disabled. What’s easiest way to switch styles dynamically whether the button is enabled or disabled?
Share
use the
:disabledpseudo class:More information here: http://www.w3.org/wiki/CSS/Selectors/pseudo-classes/:disabled