Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

classList property

Returns a DOMTokenList that represents the className attribute value expressed as a string.

This property is read-only.

Internet Explorer 10

Syntax

JavaScript
ptr = object.classList

Property values

Type: DOMTokenList

Represents string that is the className attribute value

Standards information

See also

HTMLElement

 

 

Show:
© 2014 Microsoft