// 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 '_addScriptElementHandlers()'
Method: _addScriptElementHandlers()
Method Full Name:     Sys$_ScriptLoaderTask$_addScriptElementHandlers()
Class: _ScriptLoaderTask
Namespace: Sys
Source File: MicrosoftAjax.debug.js
1   function Sys$_ScriptLoaderTask$_addScriptElementHandlers() {
2     this._scriptLoadDelegate = Function.createDelegate(this, this._scriptLoadHandler);
4     if (Sys.Browser.agent !== Sys.Browser.InternetExplorer) {
5       this._scriptElement.readyState = 'loaded';
6       $addHandler(this._scriptElement, 'load', this._scriptLoadDelegate);
7     }
8     else {
9       $addHandler(this._scriptElement, 'readystatechange', this._scriptLoadDelegate);
10    }
11    if (this._scriptElement.addEventListener) {
12      this._scriptErrorDelegate = Function.createDelegate(this, this._scriptErrorHandler);
13      this._scriptElement.addEventListener('error', this._scriptErrorDelegate, false);
14    }
15  }
This is the JavaScript source for method _addScriptElementHandlers() from ASP.NET AJAX Library. Full name for this method is Sys$_ScriptLoaderTask$_addScriptElementHandlers(). It belongs to the class _ScriptLoaderTask, which is in Sys namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map