// 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 'getBehaviorByName(element, name)'
Method: getBehaviorByName(element, name)
Method Full Name:     Sys$UI$Behavior$getBehaviorByName(element, name)
Class: Behavior
Namespace: Sys.UI
Source File: MicrosoftAjax.debug.js
1   Sys.UI.Behavior.getBehaviorByName = function Sys$UI$Behavior$getBehaviorByName(element, name) {
2     /// <summary locid="M:J#Sys.UI.Behavior.getBehaviorByName" />
3     /// <param name="element" domElement="true"></param>
4     /// <param name="name" type="String"></param>
5     /// <returns type="Sys.UI.Behavior" mayBeNull="true"></returns>
6     var e = Function._validateParams(arguments, [
7     {name: "element", domElement: true},
8     {name: "name", type: String}
9     ]);
10    if (e) throw e;
11    var b = element[name];
12    return (b && Sys.UI.Behavior.isInstanceOfType(b)) ? b : null;
13  }
This is the JavaScript source for method getBehaviorByName(element, name) from ASP.NET AJAX Library. Full name for this method is Sys$UI$Behavior$getBehaviorByName(element, name). 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