HTML and CSS Reference
In-Depth Information
Event Attribute
Description
onbeforeeditfocus
Fires before an object contained in an editable element is focused for editing.
onbeforepaste
Fires before the selected content is pasted into a document.
onbeforeprint
Fires before the user prints a document or previews a document for printing.
Fires just prior to a document being unloaded from a window.
onbeforeunload
onbeforeupdate
Triggered before the transfer of data from the element to the data
provider. Might be triggered explicitly, or by a loss of focus or a page
unload forcing a data update.
onbounce
Triggered when the bouncing contents of a marquee touch one side or
another.
oncontextmenu
Triggered when the user right-clicks (invokes the context menu) on an
element.
oncontrolselect
Fires when the user makes a control selection of the object.
oncopy
Fires when selected content is pasted into a document.
Fires when selected content is cut from a document and added to the
system clipboard.
oncut
Fires when data arrives from data sources that transmit information
asynchronously.
ondataavailable
Triggered when the initial data is made available from a data source or
when the data changes.
ondatasetchanged
ondatasetcomplete
Indicates that all the data is available from the data source.
ondeactivate
Fires when the active element is changed to another object.
ondrag
Fires continuously during a drag operation.
Fires when the user releases during a drag operation.
ondragend
ondragenter
Fires when the user drags an object onto a valid drop target.
ondragleave
Fires when the user drags the object off a valid drop target.
ondragover
Fires continuously when the object is over a valid drop target.
Fires when the user begins to drag a highlighted selection.
ondragstart
ondrop
Fires when the mouse is released during a drag-and-drop operation.
onerror
Fires when the loading of an object causes an error. For scripting it can
be associated with JavaScript's Window object to capture general script
errors.
onerrorupdate
Fires if a data transfer has been canceled by the onbeforeupdate
event handler.
onfilterchange
Fires when a page filter changes state or finishes.
T ABLE 3-6 Microsoft's Extended Event Model (continued)
 
Search WWH ::




Custom Search