{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 'getHandler(id)'
Method: getHandler(id)
Method Full Name:     Sys$EventHandlerList$getHandler(id)
Class: EventHandlerList
Namespace: Sys
Source File: MicrosoftAjax.debug.js
1   function Sys$EventHandlerList$getHandler(id) {
2     /// <summary locid="M:J#Sys.EventHandlerList.getHandler" />
3     /// <param name="id" type="String"></param>
4     /// <returns type="Function"></returns>
5     var e = Function._validateParams(arguments, [
6     {name: "id", type: String}
7     ]);
8     if (e) throw e;
9     var evt = this._getEvent(id);
10    if (!evt || (evt.length === 0)) return null;
11    evt = Array.clone(evt);
12    return function(source, args) {
13      for (var i = 0, l = evt.length; i < l; i++) {
14        evt[i](source, args);
15      }
16      };
17  }
This is the JavaScript source for method getHandler(id) from ASP.NET AJAX Library. Full name for this method is Sys$EventHandlerList$getHandler(id). It belongs to the class EventHandlerList, which is in Sys namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map