Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
var containsClass = Sys.UI.DomElement.containsCssClass(element, className);
Parameters
| 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.