classList property
Returns a DOMTokenList that represents the className attribute value expressed as a string.
This property is read-only.
![]() |
Syntax
| JavaScript |
|---|
ptr = object.classList |
Property values
Type: DOMTokenList
Represents string that is the className attribute value
Standards information
- DOM4, Section 5.1
See also
Send comments about this topic to Microsoft
Build date: 11/28/2012
