DOMTokenList

element.classList.add(className); element.classList.remove(className); element.classList.toggle(className); element.classList.contains(className); http://dev.w3.org/html5/spec/common-dom-interfaces.html#domtokenlist