{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 '_loadScriptsInternal()'
Method: _loadScriptsInternal()
Method Full Name:     Sys$_ScriptLoader$_loadScriptsInternal()
Class: _ScriptLoader
Namespace: Sys
Source File: MicrosoftAjax.debug.js
1   function Sys$_ScriptLoader$_loadScriptsInternal() {
2     if (this._scriptsToLoad && this._scriptsToLoad.length > 0) {
3       var nextScript = Array.dequeue(this._scriptsToLoad);
4       var scriptElement = this._createScriptElement(nextScript);
5       
6       if (scriptElement.text && Sys.Browser.agent === Sys.Browser.Safari) {
7         scriptElement.innerHTML = scriptElement.text;
8         delete scriptElement.text;
9       }
10      if (typeof(nextScript.src) === "string") {
11        this._currentTask = new Sys._ScriptLoaderTask(scriptElement, this._scriptLoadedDelegate);
12        this._currentTask.execute();
13      }
14      else {
15        document.getElementsByTagName('HEAD')[0].appendChild(scriptElement);
16        
17        var scriptLoader = this;
18        window.setTimeout(function() {
19          Sys._ScriptLoader._clearScript(scriptElement);
20          scriptLoader._loadScriptsInternal();
21          }, 0);
22      }
23    }
24    else {
25      var callback = this._allScriptsLoadedCallback;
26      this._stopLoading();
27      if(callback) {
28        callback(this);
29      }
30    }
31  }
This is the JavaScript source for method _loadScriptsInternal() from ASP.NET AJAX Library. Full name for this method is Sys$_ScriptLoader$_loadScriptsInternal(). It belongs to the class _ScriptLoader, which is in Sys namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map