{infiniteZest}
// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
AJAX
Apple
ASP.NET
.NET
Git
Google / Android
Python / IronPython
Miscellaneous
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 'Behavior(element)'
Method: Behavior(element)
Method Full Name:     Sys$UI$Behavior(element)
Class: Behavior
Namespace: Sys.UI
Source File: MicrosoftAjax.debug.js
1   Sys.UI.Behavior = function Sys$UI$Behavior(element) {
2     /// <summary locid="M:J#Sys.UI.Behavior.#ctor" />
3     /// <param name="element" domElement="true"></param>
4     var e = Function._validateParams(arguments, [
5     {name: "element", domElement: true}
6     ]);
7     if (e) throw e;
8     Sys.UI.Behavior.initializeBase(this);
9     this._element = element;
10    var behaviors = element._behaviors;
11    if (!behaviors) {
12      element._behaviors = [this];
13    }
14    else {
15      behaviors[behaviors.length] = this;
16    }
17  }
This is the JavaScript source for method Behavior(element) from ASP.NET AJAX Library. Full name for this method is Sys$UI$Behavior(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