// 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 'getBehaviors(element)'
Method: getBehaviors(element)
Method Full Name:     Sys$UI$Behavior$getBehaviors(element)
Class: Behavior
Namespace: Sys.UI
Source File: MicrosoftAjax.debug.js
1   Sys.UI.Behavior.getBehaviors = function Sys$UI$Behavior$getBehaviors(element) {
2     /// <summary locid="M:J#Sys.UI.Behavior.getBehaviors" />
3     /// <param name="element" domElement="true"></param>
4     /// <returns type="Array" elementType="Sys.UI.Behavior"></returns>
5     var e = Function._validateParams(arguments, [
6     {name: "element", domElement: true}
7     ]);
8     if (e) throw e;
9     if (!element._behaviors) return [];
10    return Array.clone(element._behaviors);
11  }
This is the JavaScript source for method getBehaviors(element) from ASP.NET AJAX Library. Full name for this method is Sys$UI$Behavior$getBehaviors(element). It belongs to the class Behavior, which is in Sys.UI namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map