| Main Index | Element Tree | Element Index | HTML Support History | 
| Event Types: Generic | Page | Form | Marquee | Editing | Data Binding | Misc | ||||
|---|---|---|---|---|
| Generic Events | ||||
| Event | Support | Description | ||
| onKeyPress | [2|3|3.2|4] [X1|X1.1] [IE4|N4|O5] | A keyboard key is pressed and released for an element that has focus. | ||
| onKeyDown | [2|3|3.2|4] [X1|X1.1] [IE4|N4|O5] | A keyboard key is depressed for an element that has focus. | ||
| onKeyUp | [2|3|3.2|4] [X1|X1.1] [IE4|N4|O5] | A keyboard key is released for an element that has focus. | ||
| onClick | [2|3|3.2|4] [X1|X1.1] [IE3|N2|O3] | The pointing device has been clicked. | ||
| onDblClick | [2|3|3.2|4] [X1|X1.1] [IE4|N6|O7] | The pointing device has been double-clicked. | ||
| onMouseDown | [2|3|3.2|4] [X1|X1.1] [IE4|N4|O5] | The pointing device button has just been pressed. | ||
| onMouseUp | [2|3|3.2|4] [X1|X1.1] [IE4|N4|O5] | The pointing device button has just been released. | ||
| onMouseOver | [2|3|3.2|4] [X1|X1.1] [IE3|N2|O3] | The pointing device enters the bounds of an element from outside the element. | ||
| onMouseMove | [2|3|3.2|4] [X1|X1.1] [IE4|N6|O5] | The pointing device was moved within the boundary of the element. | ||
| onMouseOut | [2|3|3.2|4] [X1|X1.1] [IE4|N3|O3] | The pointing device was moved out of the boundary of the element. | ||
| onMouseEnter | [2|3|3.2|4] [X1|X1.1] [IE5.5|N|O] | The pointing device was moved into the boundary of the element. Unlike ONMOUSEOVER, this event handler does not "bubble" - eg, it does not fire over rendered regions that are children of the element. | ||
| onMouseLeave | [2|3|3.2|4] [X1|X1.1] [IE5.5|N|O] | The pointing device was moved out of the boundary of the element. From Microsoft's documentation descriptions, there is no difference between this event handler and ONMOUSEOUT. | ||
| onMouseWheel | [2|3|3.2|4] [X1|X1.1] [IE6|N|O] | Triggered when the mouse wheel button is rotated. | ||
| onContextMenu | [2|3|3.2|4] [X1|X1.1] [IE5|N6|O] | The right mouse button (or its equivalent keyboard sequence) has been activated for an element. | ||
| Page/Dependency Events | ||||
| Event | Support | Description | ||
| onAbort | [2|3|3.2|4] [X1|X1.1] [IE4|N3-4.x|O] | Image downloading has been interrupted. | ||
| onBeforeUnload | [2|3|3.2|4] [X1|X1.1] [IE4|N|O] | The page is about to be unloaded from its current context. | ||
| onError | [2|3|3.2|4] [X1|X1.1] [IE4|N3|O4] | An error has occurred during the loading of external page dependencies or during the processing of a script. | ||
| onLoad | [2|3|3.2|4] [X1|X1.1] [IE3|N2|O3] | The document or other external dependency has finished loading to the browser. | ||
| onMove | [2|3|3.2|4] [X1|X1.1] [IE5.5|N4-4.x|O] | The element or browser window has been moved. | ||
| onResize | [2|3|3.2|4] [X1|X1.1] [IE4|N4|O] | The window/object has been resized. | ||
| onScroll | [2|3|3.2|4] [X1|X1.1] [IE4|N7|O7] | The element's scrollbar position has been changed. | ||
| onStop | [2|3|3.2|4] [X1|X1.1] [IE5|N|O] | The browser's Stop button has been activated or the document is unloading. | ||
| onUnload | [2|3|3.2|4] [X1|X1.1] [IE3|N2|O3] | The page is unloading from its current context. | ||
| Form/Focus Events | ||||
| Event | Support | Description | ||
| onReset | [2|3|3.2|4] [X1|X1.1] [IE4|N3|O3] | A form's RESET button has been activated. | ||
| onSubmit | [2|3|3.2|4] [X1|X1.1] [IE3|N2|O3] | A form's submittal process is beginning. | ||
| onBlur | [2|3|3.2|4] [X1|X1.1] [IE3|N2|O3] | The current element has lost focus (by keyboard tabbing or mouse.) | ||
| onChange | [2|3|3.2|4] [X1|X1.1] [IE3|N2|O3] | The current element has lost focus (by keyboard or mouse) and the element's contents have changed. | ||
| onFocus | [2|3|3.2|4] [X1|X1.1] [IE3|N2|O3] | The element has received focus. | ||
| onFocusIn | [2|3|3.2|4] [X1|X1.1] [IE6|N|O] | Triggered just prior to setting focus on an element. | ||
| onFocusOut | [2|3|3.2|4] [X1|X1.1] [IE6|N|O] | Triggered immediately after moving focus from the current element. | ||
| onInput | [2|3|3.2|4] [X1|X1.1] [IE|N6|O] | Triggered when data is entered to a form field that accepts text content. | ||
| onBeforeActivate | [2|3|3.2|4] [X1|X1.1] [IE6|N|O] | Triggered immediately before the current element is set to an "active" state. | ||
| onActivate | [2|3|3.2|4] [X1|X1.1] [IE5.5|N|O] | Triggered when the current element is set to an "active" state. | ||
| onBeforDeactivate | [2|3|3.2|4] [X1|X1.1] [IE5.5|N|O] | Triggered when the current element is in an active state and immediately before switching the active state to another element. | ||
| onDeactivate | [2|3|3.2|4] [X1|X1.1] [IE5.5|N|O] | Triggered when the current element is "active" and is switching "active" status to another element. | ||
| Marquee Events | ||||
| Event | Support | Description | ||
| onBounce | [2|3|3.2|4] [X1|X1.1] [IE4|N|O] | The content of the Marquee element has moved to the boundary of the Marquee display area. | ||
| onFinish | [2|3|3.2|4] [X1|X1.1] [IE4|N|O] | The Marquee element has finished its prescribed movement pattern. | ||
| onStart | [2|3|3.2|4] [X1|X1.1] [IE4|N|O] | The Marquee element is beginning its prescribed movement pattern. | ||
| Editing Events | ||||
| Event | Support | Description | ||
| onBeforeCopy | [2|3|3.2|4] [X1|X1.1] [IE5|N|O] | A selection is about to be copied to the system clipboard. | ||
| onBeforeCut | [2|3|3.2|4] [X1|X1.1] [IE5|N|O] | All or a portion of the element is about to be removed (cut) from the document and moved to the system clipboard. | ||
| onBeforeEditFocus | [2|3|3.2|4] [X1|X1.1] [IE5|N|O] | The current element is about to enter an "active" state. | ||
| onBeforePaste | [2|3|3.2|4] [X1|X1.1] [IE5|N|O] | Content is about to be transferred (pasted) from the system clipboard. | ||
| onBeforeUpdate | [2|3|3.2|4] [X1|X1.1] [IE5|N|O] | Notifies the target element before the contents of the system clipboard are pasted. | ||
| onCopy | [2|3|3.2|4] [X1|X1.1] [IE5|N|O] | All or a portion of the element has been selected and copied to the system clipboard. | ||
| onCut | [2|3|3.2|4] [X1|X1.1] [IE5|N|O] | All or a portion of the element has been removed (cut) from the document and moved to the system clipboard. | ||
| onDrag | [2|3|3.2|4] [X1|X1.1] [IE5|N|O] | Continually notifies the source element that a drag operation is occurring. | ||
| onDragDrop | [2|3|3.2|4] [X1|X1.1] [IE|N4-4.x|O] | An external resource has been dropped into a window or frame. | ||
| onDragEnd | [2|3|3.2|4] [X1|X1.1] [IE5|N|O] | Notifies the source element that a drag operation has ended (mouse has been released.) | ||
| onDragEnter | [2|3|3.2|4] [X1|X1.1] [IE5|N|O] | Notifies the target element when the contents being dragged have entered a valid target. | ||
| onDragLeave | [2|3|3.2|4] [X1|X1.1] [IE5|N|O] | Notifies the target element when the mouse moves out of a valid target during a drag operation. | ||
| onDragOver | [2|3|3.2|4] [X1|X1.1] [IE5|N|O] | Continually notifies the target element when the contents being dragged are within a valid target. | ||
| onDragStart | [2|3|3.2|4] [X1|X1.1] [IE4|N|O] | Notifies the source element when a drag operation begins. | ||
| onDrop | [2|3|3.2|4] [X1|X1.1] [IE5|N|O] | The mouse button has been released during a drag operation. | ||
| onLoseCapture | [2|3|3.2|4] [X1|X1.1] [IE5|N|O] | The element has lost mouse selection capture. | ||
| onPaste | [2|3|3.2|4] [X1|X1.1] [IE5|N|O] | Content has been transferred (pasted) from the system clipboard. | ||
| onSelect | [2|3|3.2|4] [X1|X1.1] [IE4|N6|O] | Text content has been selected in a form field text entry element. | ||
| onSelectStart | [2|3|3.2|4] [X1|X1.1] [IE4|N|O] | Content selection has begun. | ||
| onControlSelect | [2|3|3.2|4] [X1|X1.1] [IE5.5|N|O] | Triggered when control-selection occurs on the element. | ||
| onMoveStart | [2|3|3.2|4] [X1|X1.1] [IE5.5|N|O] | Triggered when the element begins to move. | ||
| onMoveEnd | [2|3|3.2|4] [X1|X1.1] [IE5.5|N|O] | Triggered when the element stops moving. | ||
| Data Binding Events | ||||
| Event | Support | Description | ||
| onAfterUpdate | [2|3|3.2|4] [X1|X1.1] [IE4|N|O] | Data has finished transfer from the source element to the data source object. | ||
| onCellChange | [2|3|3.2|4] [X1|X1.1] [IE5|N|O] | Data has changed in a data source provider. | ||
| onDataAvailable | [2|3|3.2|4] [X1|X1.1] [IE4|N|O] | Data has arrived asynchronously from a data source object. | ||
| onDatasetChanged | [2|3|3.2|4] [X1|X1.1] [IE4|N|O] | Data in the data source object has changed. | ||
| onDatasetComplete | [2|3|3.2|4] [X1|X1.1] [IE4|N|O] | All currently available data has been loaded from the data source object. | ||
| onErrorUpdate | [2|3|3.2|4] [X1|X1.1] [IE4|N|O] | onBeforeUpdate has cancelled the data transfer. Takes place of onAfterUpdate event. | ||
| onRowEnter | [2|3|3.2|4] [X1|X1.1] [IE5|N|O] | The current row in the data source object has changed and new data is available. | ||
| onRowExit | [2|3|3.2|4] [X1|X1.1] [IE5|N|O] | The current row is about to be changed in the data source object. | ||
| onRowsDelete | [2|3|3.2|4] [X1|X1.1] [IE5|N|O] | Rows are about to be deleted from the current Data Source Object recordset. | ||
| onRowsInserted | [2|3|3.2|4] [X1|X1.1] [IE5|N|O] | Rows have just been inserted into the current Data Source Object recordset. | ||
| Misc Events | ||||
| Event | Support | Description | ||
| onAfterPrint | [2|3|3.2|4] [X1|X1.1] [IE5|N|O] | The document has just been printed. | ||
| onBeforePrint | [2|3|3.2|4] [X1|X1.1] [IE5|N|O] | The state just before the document is to be printed. | ||
| onFilterChange | [2|3|3.2|4] [X1|X1.1] [IE4|N|O] | The state of an element has been changed by a filter or filter transition has been completed. | ||
| onHelp | [2|3|3.2|4] [X1|X1.1] [IE4|N|O] | The user has pressed the F1 key or HELP from the browser menu for this element. | ||
| onPropertyChange | [2|3|3.2|4] [X1|X1.1] [IE5|N|O] | One or more of the element's properties have changed. | ||
| onReadyStateChange | [2|3|3.2|4] [X1|X1.1] [IE4|N|O] | The element has changed its ReadyState. | ||
| Event Types: Generic | Page | Form | Marquee | Editing | Data Binding | Misc | ||||