.switchClass()

Adds and removes the specified class(es) to each of the set of matched elements while animating all style changes.

.toggleClass()

Add or remove one or more classes from each element in the set of matched elements, depending on either the class’s presence or the value of the switch argument, while animating all style changes.