Login Register Help
API Documentation
Choose a stylesheet:

FunctionaddClass (returns dojo.NodeList)

dojo.require("dojo._base.NodeList");
adds the specified class to every node in the list
parametertypedescription
classNameStringA String class name to add, or several space-separated class names, or an array of class names.

Usage

var foo: dojo.NodeList=addClass(className: String);