|
addClass()Adds the specified class(es) to each element in a set of HTML elements that match the selector of the script or of another query in the template (see query()). This has no effect if the class is already present. addClass(classname)Adds the specified class(es) to each element in a result set. Has no effect if the class is already present. classname String, space separated list of class names. ExamplesThis script adds a class name to a paragraph.
|
|