{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 '_findNearestElement(uniqueID)'
Method: _findNearestElement(uniqueID)
Method Full Name:     Sys$WebForms$PageRequestManager$_findNearestElement(uniqueID)
Class: PageRequestManager
Namespace: Sys.WebForms
Source File: MicrosoftAjaxWebForms.debug.js
1   function Sys$WebForms$PageRequestManager$_findNearestElement(uniqueID) {
2     while (uniqueID.length > 0) {
3       var clientID = this._uniqueIDToClientID(uniqueID);
4       var element = document.getElementById(clientID);
5       if (element) {
6         return element;
7       }
8       var indexOfLastDollar = uniqueID.lastIndexOf('$');
9       if (indexOfLastDollar === -1) {
10        return null;
11      }
12      uniqueID = uniqueID.substring(0, indexOfLastDollar);
13    }
14    return null;
15  }
This is the JavaScript source for method _findNearestElement(uniqueID) from ASP.NET AJAX Library. Full name for this method is Sys$WebForms$PageRequestManager$_findNearestElement(uniqueID). It belongs to the class PageRequestManager, which is in Sys.WebForms namespace. This source is in MicrosoftAjaxWebForms.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map