These methods inspect and manipulate the CSS classes assigned to elements. Also in: ... Adds the specified class(es) to each of the set of matched elements.
api.jquery.com