HTML and CSS Reference
Fires when an undo is triggered.
Indicates that the browser is leaving the current document and unloading
it from the window or frame. There may be another possible use for this
event when elements bind to remote data sources and unload.
Fires when the volume attribute or mute attribute value of a media
element like audio or video changes generally via script or the user's
interaction with any shown controls.
Fires when media element play stops but new data is expected shortly.
T ABLE 3-5 HTML5 Event Preview (continued)
just before or after they happen. Table 3-6 briefly summarizes the basic meaning of the
various extended event attributes mostly found in Internet Explorer but commonly partially
implemented in other browsers.
C AUTION With events documentation, errors might exist. The event model changes rapidly, and
the browser vendors have not stopped innovating in this area. While the events were tested for
accuracy, but for the latest, up-to-date event model for Internet Explorer in particular, visit the
Microsoft Developer Network (MSDN), at http://msdn.microsoft.com.
onabort Triggered by the user aborting the image load with a stop button or
onactivate Fires when the object is set as the active element.
onafterprint Fires after the user prints a document or previews a document for printing.
onafterupdate Fires after the transfer of data from the element to a data provider,
namely a data update.
onbeforeactivate Fires immediately before the object is set as the active element.
onbeforecopy Fires just before selected content is copied and placed in the user's
onbeforecut Fires just before selected content is cut from the document and added to
the system clipboard.
onbeforedeactivate Fires immediately before the active element is changed from one object
T ABLE 3-6 Microsoft's Extended Event Model (continued)