नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
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.