Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

Sys.UI.DomEvent removeHandler Method

Removes a DOM event handler from the DOM element that exposes the event. This member is static and can be invoked without creating an instance of the class.

Syntax

Sys.UI.DomEvent.removeHandler(element, eventName, handler);

Term

Definition

element

The element that exposes the event.

eventName

The name of the event.

handler

The event handler to remove.

Remarks

Use the removeHandler method to remove a DOM event handler from the element that exposes the event. The eventName parameter should not include the "on" prefix. For example, specify "click" instead of "onclick".

This method can be accessed through the $removeHandler shortcut method.