25.105. Element.removeEventListener( ): delete an event listenerDOM Level 2 Events:25.105.1. Synopsisvoid removeEventListener(String type, Function listener, boolean useCapture); 25.105.1.1. Arguments
25.105.2. DescriptionThis method removes the specified event-listener function. The type and useCapture arguments must be the same as they are in the corresponding call to addEventListener( ). If no event listener is found that matches the specified arguments, this method does nothing. Once an event-listener function has been removed by this method, it will no longer be invoked for the specified type of event on this node. This is true even if the event listener is removed by another event listener registered for the same type of event on the same node. This method is also defined by, and works analogously on, the Document and Window objects. |