Sys.UI.DomElement containsCssClass Method
Gets a value that indicates whether the DOM element contains the specified CSS class. This member is static and can be invoked without creating an instance of the class.
Syntax
var containsClass = Sys.UI.DomElement.containsCssClass(element, className);
|
Term
|
Definition
|
|
element
|
The Sys.UI.DomElement object to test for the CSS class.
|
|
className
|
The name of the CSS class to test for.
|
Return Value
true if the element contains the specified CSS class; otherwise, false.