Alert: This is an alert. (It has the ui-state-error class.)
Alert: This is the same alert, without the ui-state-error class.
Alert: This is the same alert, but with the ui-state-highlight class instead of ui-state-error.
Each of these buttons has the state named in the label. ("Hover", "Focused", and "Active" just by applying the appropriate class. Notice how:
Here, the ui-state-error class has been applied directly to each button. As you can see, none of the button states (except "Disabled") work. Not recommended.
Here, the ui-state-error class has been applied to the buttons' container div. The buttons are back to their regular color and behavior (except for their icons).
Here, the ui-state-highlight class has been applied directly to each button. As you can see, none of the button states (except "Disabled") work. Not recommended.
Here, the ui-state-highlight class has been applied to the buttons' container div. The buttons are back to their regular color and behavior (except for their icons).