5.24. Element.ClassNames (Prototype)

extends Prototype::Enumerable
Member Type
Element.ClassNames
Constructor(Element or id::string)
add
Function(className:string) -> undefined
remove
Function(className:string) -> undefined
set
Function(className:string) -> undefined

Get Prototype and Scriptaculous: Taking the Pain out of JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.