// 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 'addHandler(id, handler)'
Method: addHandler(id, handler)
Method Full Name:     Sys$EventHandlerList$addHandler(id, handler)
Class: EventHandlerList
Namespace: Sys
Source File: MicrosoftAjax.debug.js
1   function Sys$EventHandlerList$addHandler(id, handler) {
2     /// <summary locid="M:J#Sys.EventHandlerList.addHandler" />
3     /// <param name="id" type="String"></param>
4     /// <param name="handler" type="Function"></param>
5     var e = Function._validateParams(arguments, [
6     {name: "id", type: String},
7     {name: "handler", type: Function}
8     ]);
9     if (e) throw e;
10    Array.add(this._getEvent(id, true), handler);
11  }
This is the JavaScript source for method addHandler(id, handler) from ASP.NET AJAX Library. Full name for this method is Sys$EventHandlerList$addHandler(id, handler). 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