{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 'remove(array, item)'
Method: remove(array, item)
Method Full Name:     Array$remove(array, item)
Class: Array
Namespace: Global (MicrosoftAjax.debug.js)
Source File: MicrosoftAjax.debug.js
1   Array.remove = function Array$remove(array, item) {
2     /// <summary locid="M:J#Array.remove" />
3     /// <param name="array" type="Array" elementMayBeNull="true"></param>
4     /// <param name="item" mayBeNull="true"></param>
5     /// <returns type="Boolean"></returns>
6     var e = Function._validateParams(arguments, [
7     {name: "array", type: Array, elementMayBeNull: true},
8     {name: "item", mayBeNull: true}
9     ]);
10    if (e) throw e;
11    var index = Array.indexOf(array, item);
12    if (index >= 0) {
13      array.splice(index, 1);
14    }
15    return (index >= 0);
16  }
This is the JavaScript source for method remove(array, item) from ASP.NET AJAX Library. Full name for this method is Array$remove(array, item). It belongs to the class Array, which is in Global (MicrosoftAjax.debug.js) namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map