HTML and CSS Reference
In-Depth Information
Event Attribute
Event Description
onundo
Fires when an undo is triggered.
onunload
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.
onvolumechange
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.
onwaiting
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.
Event Attribute
Description
onabort Triggered by the user aborting the image load with a stop button or
similar effect.
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
system clipboard.
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
to another.
T ABLE 3-6 Microsoft's Extended Event Model (continued)
 
Search WWH ::




Custom Search