Gets or sets the class of the element.

[VBScript]
Public Property ClassName As String
[JScript]
public function get ClassName() : String;
public function set ClassName(String);

Property Value

The class of the element.

See Also

HTMLElement Object | HTMLElement Members | DOM Namespace