// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
Google / Android
Python / IronPython
SQL Server
AJAX Source Viewer
View the source code of a Method from ASP.NET AJAX Library. Choose a method from the menu items above (Namespaces, Classes, or Methods).
Method 'containsCssClass(element, className)'
Method: containsCssClass(element, className)
Method Full Name:     Sys$UI$DomElement$containsCssClass(element, className)
Class: DomElement
Namespace: Sys.UI
Source File: MicrosoftAjax.debug.js
1   Sys.UI.DomElement.containsCssClass = function Sys$UI$DomElement$containsCssClass(element, className) {
2     /// <summary locid="M:J#Sys.UI.DomElement.containsCssClass" />
3     /// <param name="element" domElement="true"></param>
4     /// <param name="className" type="String"></param>
5     /// <returns type="Boolean"></returns>
6     var e = Function._validateParams(arguments, [
7     {name: "element", domElement: true},
8     {name: "className", type: String}
9     ]);
10    if (e) throw e;
11    return Array.contains(element.className.split(' '), className);
12  }
This is the JavaScript source for method containsCssClass(element, className) from ASP.NET AJAX Library. Full name for this method is Sys$UI$DomElement$containsCssClass(element, className). It belongs to the class DomElement, which is in Sys.UI namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map