removeEventListener
removeEventListener() allows the removal of event listeners from the event target.
Syntax
element.removeEventListener(type, listener, useCapture)Parameters
The removeEventListener() method takes the following parameters:
Example
Notes
If an EventListener is removed from an EventTarget while it is processing an event, it will not be triggered by the current actions. EventListeners can never be invoked after being removed.
Calling removeEventListener with arguments which do not identify any currently registered EventListener on the EventTarget has no effect.
See also addEventListener.
Specification
removeEventListener
Netscape Communications http://developer.netscape.com |