# HTML Event Index

Select a event to visit its documentation.

Event | IE | Netscape | Mozilla | Opera | Safari
--- | --- | --- | --- | --- | ---
onabort Fires when the loading of the element is cancelled before it finishes loading. | 4.0+ | no | no | no | 1.0+
onactivate Fires when the element becomes active. | 4.0+ | no | no | no | no
onafterprint Fires immediately after a user prints or print previews a document. | 4.0+ | no | no | no | no
onafterupdate Fires when the data from a datasource is successfully updated for a databound object. | 4.0+ | no | no | no | no
onbeforeactivate Fires immediately before the element becomes active. | 4.0+ | no | no | no | no
onbeforecopy Fires immediately before the selection is copied to the clipboard. | 4.0+ | no | no | no | 1.0+
onbeforecut Fires immediately before the selection is cut to the clipboard. | 4.0+ | no | no | no | 1.0+
onbeforedeactivate Fires immediately before the element stops being the active element. | 4.0+ | no | no | no | no
onbeforeeditfocus Fires immediately before the element receives focus prior to being edited. | 4.0+ | no | no | no | no
onbeforepaste Fires immediately before the selection is pasted from the clipboard to the element. | 4.0+ | no | no | no | 1.0+
onbeforeprint Fires immediately before a user prints or print previews a document. | 4.0+ | no | no | no | no
onbeforeunload Fires immediately before a document is unloaded. | 4.0+ | no | no | no | no
onbeforeupdate Fires immediately before the data from a datasource is updated for a databound object. | 4.0+ | no | no | no | no
onblur Fires when the element loses focus. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
onbounce Fires immediately before the scrolling contents of an element reach the far side of the window. | 4.0+ | no | no | no | no
oncellchange Fires when the data from the datasource changes. | 4.0+ | no | no | no | no
onchange Fires when the value of the element changes. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
onclick Fires when the element is clicked. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
oncontextmenu Fires when the element is right-clicked and the context menu opens. | 4.0+ | no | no | no | 1.0+
oncontrolselect Fires immediately before the element is selected. | 4.0+ | no | no | no | no
oncopy Fires when the element is copied to the clipboard. | 4.0+ | no | no | no | 1.0+
oncut Fires when the element is cut to the clipboard. | 4.0+ | no | no | no | 1.0+
ondataavailable Fires when data becomes available from an asyncrhonous data source. | 4.0+ | no | no | no | no
ondatasetchanged Fires when data in a dataset changes. | 4.0+ | no | no | no | no
ondatasetcomplete Fires when a dataset finishes loading. | 4.0+ | no | no | no | no
ondblclick Fires when the element is double-clicked. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
ondeactivate Fires when the active element becomes inactive. | 4.0+ | no | no | no | no
ondrag Fires when the element is dragged. | 4.0+ | no | no | no | 1.0+
ondragend Fires when the element is released from being dragged. | 4.0+ | no | no | no | 1.0+
ondragenter Fires when the element has another object dragged onto it that can be dropped on the element. | 4.0+ | no | no | no | 1.0+
ondragleave Fires when an element has an object dragged out of it that could be dropped onto the element. | 4.0+ | no | no | no | 1.0+
ondragover Fires when an element has an object dragged over it that could be dropped onto the element. | 4.0+ | no | no | no | 1.0+
ondragstart Fires immediately before an element is dragged. | 4.0+ | no | no | no | 1.0+
ondrop Fires when an object is dropped onto the element. | 4.0+ | no | no | no | 1.0+
onerror Fires when an error occurs with the object associated with the element. | 4.0+ | no | no | no | 1.0+
onerrorupdate Fires when an error occurs while updating the datasource of a databound object. | 4.0+ | no | no | no | no
onfilterchange Fires when the CSS Filter of an element changes or finishes transitioning. | 4.0+ | no | no | no | no
onfinish Fires when looping for the element completes. | 4.0+ | no | no | no | no
onfocus Fires when the element receives focus. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
onfocusin Fires immediately before an element receives focus. | 4.0+ | no | no | no | no
onfocusout Fires immediately after focus moves from the element to another element. | 4.0+ | no | no | no | no
onhelp Fires when a user presses the F1 key to activate help. | 4.0+ | no | no | no | no
onkeydown Fires when a user presses down on a key while the element has focus. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
onkeypress Fires when a user presses a key or holds down the key while the element has focus. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
onkeyup Fires when a user releases a key while the element has focus. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
onlayoutcomplete Fires when Print or Print Preview finishes laying out the content in a LayoutRect with the source data. | 4.0+ | no | no | no | no
onload Fires when the content of the element finishes loading. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
onlosecapture Fires when the element loses mouse capture. | 4.0+ | no | no | no | no
onmousedown Fires when a user clicks down on the mouse button while the element has focus. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
onmouseenter Fires when the mouse pointer enters the element. | 4.0+ | no | no | no | no
onmouseleave Fires when the mouse pointer leaves the element. | 4.0+ | no | no | no | no
onmousemove Fires when the mouse moves while the pointer over the element. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
onmouseout Fires when the mouse pointer moves off of the element. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
onmouseover Fires when the mouse pointer moves over the element. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
onmouseup Fires when the user releases the mouse button while the element has focus. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
onmousewheel Fires when the user rotates the mouse wheel while the element has focus. | 4.0+ | no | no | no | no
onmove Fires when the element moves. | 4.0+ | no | no | no | no
onmoveend Fires when the element stops moving. | 4.0+ | no | no | no | no
onmovestart Fires immediately before the element moves. | 4.0+ | no | no | no | no
onpaste Fires when the clipboard contents are pasted onto the element. | 4.0+ | no | no | no | 1.0+
onpropertychange Fires when one of the properties of the element changes. | 4.0+ | no | no | no | no
onreadystatechange Fires when the ready state of the element changes. | 4.0+ | no | no | no | no
onreset Fires when the form data is reset. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
onresize Fires immediately before an element is about to be resized. | 4.0+ | no | no | no | 1.0+
onresizeend Fires when the element is finished being resized. | 4.0+ | no | no | no | no
onresizestart Fires immediately before a user resizes the element. | 4.0+ | no | no | no | no
onrowenter Fires if the data values for the row change in the datasource. | 4.0+ | no | no | no | no
onrowexit Fires immediately before the data values for the row change in the datasource. | 4.0+ | no | no | no | no
onrowsdelete Fires immediately before rows are deleted from the dataset. | 4.0+ | no | no | no | no
onrowsinserted Fires immediately after rows are inserted into the dataset. | 4.0+ | no | no | no | no
onscroll Fires when a user scrolls the element. | 4.0+ | no | no | no | 1.0+
onselect Fires when the element is selected. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
onselectstart Fires immediately before the element is selected. | 4.0+ | no | no | no | 1.0+
onstart Fires at the beginning of a loop for the looping content of an element. | 4.0+ | no | no | no | no
onsubmit Fires when the form data is submitted. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
ontimeerror Fires when a time-related error occurs. | 4.0+ | no | no | no | no
onunload Fires when the content of the element finishes unloading. | 4.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+