25.92. Element.detachEvent( ): delete an event listenerIE 4:25.92.1. Synopsisvoid detachEvent(String type, Function listener) 25.92.1.1. Arguments
25.92.2. DescriptionThis method undoes the event-handler function registration performed by the attachEvent( ) method. It is the IE-specific analog to removeEventListener( ). To remove an event handler function for an element, simply invoke detachEvent with the same arguments you originally passed to attachEvent( ). This method is also defined by, and works analogously on, the Document and Window objects. |