Window.detachEvent() (Method)

A means of detaching events from windows and documents that were previously attached with the attachEvent() method.

Availability:

JScript - 5.0
Internet Explorer - 5.0
JavaScript syntax:IEdetachEvent(anEventName)
IEmyWindow.detachEvent(anEventName)
Argument list:anEventNameThe name of an event to be handled

This is part of the behavior handling in MSIE which involves the use of style sheets and .htc files.

See also:<STYLE>, Document.attachEvent(), Document.detachEvent(), Window.attachEvent()