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
| Topic | Description |
|---|---|
|
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. | |
|
Generates an event object to pass event context information when you use the fireEvent method. | |
|
Unbinds the specified function from the event, so that the function stops receiving notifications when the event fires. | |
|
Removes mouse capture from the object in the current document. | |
|
Sets the mouse capture to the object that belongs to the current document. |
Show: