.addClass()
Adds the specified class(es) to each element in the set of matched elements.
CARVIEW |
All the aspects of the API that were added, or had a new signature added, in the corresponding version of jQuery.
.addClass()
, .removeClass()
& .toggleClass()
now work on arrays of classes; a few APIs were deprecated.
For more information, see the Release Notes/Changelog.
Adds the specified class(es) to each element in the set of matched elements.
Remove a single class, multiple classes, or all classes from each element in the set of matched elements.
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 state argument.