{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 'preventDefault()'
Method: preventDefault()
Method Full Name:     Sys$UI$DomEvent$preventDefault()
Class: DomEvent
Namespace: Sys.UI
Source File: MicrosoftAjax.debug.js
1   function Sys$UI$DomEvent$preventDefault() {
2     /// <summary locid="M:J#Sys.UI.DomEvent.preventDefault" />
3     if (arguments.length !== 0) throw Error.parameterCount();
4     if (this.rawEvent.preventDefault) {
5       this.rawEvent.preventDefault();
6     }
7     else if (window.event) {
8       this.rawEvent.returnValue = false;
9     }
10  }
This is the JavaScript source for method preventDefault() from ASP.NET AJAX Library. Full name for this method is Sys$UI$DomEvent$preventDefault(). It belongs to the class DomEvent, which is in Sys.UI namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map