The detachEvent removes the event handler defined by eventType and places it to an internal registry placeholder. The same event handler can be easily reattached by calling the attachEvent method without passing a new handler.
Syntax | widget.detachEvent(eventType); |
---|---|
Parameters | eventType : Required. The event type to be detached, ie onclick, onscroll etc. |
Returns | - |