Functiondojo.addClass

<script src="../../js/dojo.js"></script>
defined in dojo/_base/html.js

Adds the specified classes to the end of the class list on the passed node.

Usage

function (/*DomNode|String*/ node, /*String*/ classStr) (view source)
parametertypedescription
nodeDomNode|String 
classStrString