Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize

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:
© 2015 Microsoft