Legacy Event Methods
Collapse the table of content
Expand the table of content

Legacy Event Methods

This section describes methods associated with legacy events supported by earlier versions of Windows Internet Explorer. For best results, we recommend designing webpages that rely on web standards. For more info, see Events.

In this section

TopicDescription

attachEvent

Note   attachEvent is no longer supported. Starting with Internet Explorer 11, use addEventListener. For info, see Compatibility changes.
 

Binds the specified function to an event, so that the function gets called whenever the event fires on the object.

createEventObject

Generates an event object to pass event context information when you use the fireEvent method.

detachEvent

Unbinds the specified function from the event, so that the function stops receiving notifications when the event fires.

releaseCapture

Removes mouse capture from the object in the current document.

setCapture

Sets the mouse capture to the object that belongs to the current document.

 

 

 

Show:
© 2016 Microsoft