addClass « jQuery « JavaScript DHTML






1.Add class to a selected Tag
2.Add style class to tag
3.Add two classes
4.addClass(class) adds the specified class(es) to each of the set of matched elements.
5.Adds the class 'selected' to the matched elements.
6.Adds the classes 'selected' and 'highlight' to the matched elements.