General events |
Event |
Browser support |
Description |
OnClick |
HTML: 2 | 3 | 3.2 |4 Browser:IE3|N2|O3 |
Click an event. |
OnDblClick |
HTML: 2 | 3 | 3.2 |4 Browser:IE4|N4| O |
Double-click event |
OnMouseDown |
HTML: 2 | 3 | 3.2 |4 Browser:IE4|N4| O |
The button on the mouse is pressed. |
OnMouseUp |
HTML: 2 | 3 | 3.2 |4 Browser:IE4|N4| O |
Events triggered when the mouse is pressed and released |
OnMouseOver |
HTML: 2 | 3 | 3.2 |4 Browser:IE3|N2|O3 |
Event triggered when you move the cursor over an object range |
OnMouseMove |
HTML: 2 | 3 | 3.2 |4 Browser:IE4|N4| O |
Events triggered when you move the mouse |
OnMouseOut |
HTML: 2 | 3 | 3.2 |4 Browser:IE4|N3|O3 |
Event triggered when the mouse leaves the range of an object |
OnKeyPress |
HTML: 2 | 3 | 3.2 |4 Browser:IE4|N4| O |
Events triggered when a key on the keyboard is pressed and released. [Note: the page must contain focused objects] |
OnKeyDown |
HTML: 2 | 3 | 3.2 |4 Browser:IE4|N4| O |
Events triggered when a key is pressed on the keyboard [NOTE: The page must contain focused objects] |
OnKeyUp |
HTML: 2 | 3 | 3.2 |4 Browser:IE4|N4| O |
Events triggered when a button on the keyboard is pressed and opened [NOTE: The page must contain focused objects] |
Page related events |
Event |
Browser support |
Description |
OnAbort |
HTML: 1 | 3 | 3.2 | 4 Browser:IE4|N3| O |
The image is interrupted by the user during download. |
OnBeforeUnload |
HTML: 1 | 3 | 3.2 | 4 Browser:IE4| N | O |
Events triggered when the content of the current page is about to be changed |
OnError |
HTML: 1 | 3 | 3.2 | 4 Browser:IE4|N3| O |
Capture errors on the current page for some reason, such as script errors and external data references. |
OnLoad |
HTML: 2 | 3 | 3.2 |4 Browser:IE3|N2|O3 |
Events triggered when an empty page is sent to the browser, including external file Introduction |
OnMove |
HTML: 1 | 3 | 3.2 | 4 Browser: IE |N4| O |
Events triggered when the browser window is moved |
OnResize |
HTML: 1 | 3 | 3.2 | 4 Browser:IE4|N4| O |
Events triggered when the browser window size is changed |
OnScroll |
HTML: 1 | 3 | 3.2 | 4 Browser:IE4| N | O |
Events triggered when the browser's scroll bar position changes |
OnStop |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
Events triggered when the browser stop button is pressed or files being downloaded are interrupted |
OnUnload |
HTML: 2 | 3 | 3.2 |4 Browser:IE3|N2|O3 |
Events triggered when the current page is changed |
Form-related events |
Event |
Browser support |
Description |
OnBlur |
HTML: 2 | 3 | 3.2 |4 Browser:IE3|N2|O3 |
Events triggered when the current element loses focus [both mouse and keyboard triggers] |
OnChange |
HTML: 2 | 3 | 3.2 |4 Browser:IE3|N2|O3 |
Events triggered when the current element loses focus and the element content changes [both mouse and keyboard triggers] |
OnFocus |
HTML: 2 | 3 | 3.2 |4 Browser:IE3|N2|O3 |
Event triggered when an element gets focus |
OnReset |
HTML: 2 | 3 | 3.2 |4 Browser:IE4|N3|O3 |
Events triggered when the RESET attribute in the form is fired |
OnSubmit |
HTML: 2 | 3 | 3.2 |4 Browser:IE3|N2|O3 |
Events triggered when a form is submitted |
Rolling subtitle events |
Event |
Browser support |
Description |
OnBounce |
HTML: 1 | 3 | 3.2 | 4 Browser:IE4| N | O |
Events triggered when content in Marquee is moved out of the Marquee display range |
OnFinish |
HTML: 1 | 3 | 3.2 | 4 Browser:IE4| N | O |
Event triggered when the Marquee element completes the content to be displayed |
OnStart |
HTML: 1 | 3 | 3.2 | 4 Browser:IE4| N | O |
Events triggered when the Marquee element starts to display content |
Edit event |
Event |
Browser support |
Description |
OnBeforeCopy |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
Events triggered when the selected content on the page is to be copied to the viewer's clipboard |
OnBeforeCut |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
Events triggered when part or all of the content on the page is removed from the current page [clipboard] and moved to the browser's system clipboard |
OnBeforeEditFocus |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
The current element is about to enter the editing status. |
OnBeforePaste |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
The event that is triggered when the content is to be transferred [pasted] to the page from the browser's system clipboard |
OnBeforeUpdate |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
The target object is notified when the viewer pastes the content in the system clipboard. |
OnContextMenu |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
Events triggered when the viewer presses the right-click menu or triggers the page menu by pressing the keyboard button [try adding onContentMenu = "return false" to <body> On the page to disable the use right-click] |
OnCopy |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
Events triggered when the selected content on the page is copied |
OnCut |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
Event triggered when the selected content on the page is cut |
OnDrag |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
Event [activity event] triggered when an object is dragged |
OnDragDrop |
HTML: 1 | 3 | 3.2 | 4 Browser: IE |N4| O |
An external object is dragged to the current window or frame by the mouse |
OnDragEnd |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
The event triggered when the mouse is dragged to the end, that is, the mouse button is released. |
OnDragEnter |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
Event triggered when an object that is dragged by the mouse enters its container range |
OnDragLeave |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
Event triggered when an object that is dragged by the mouse leaves its container range |
OnDragOver |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
Event [activity event] triggered when a dragged object is dragged within the range of another object container |
OnDragStart |
HTML: 1 | 3 | 3.2 | 4 Browser:IE4| N | O |
Event triggered when an object is dragged |
OnDrop |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
The event triggered when the mouse key is released during a drag process. |
OnLoseCapture |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
Event triggered when an element loses its focus. |
OnPaste |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
Events triggered when the content is pasted |
OnSelect |
HTML: 2 | 3 | 3.2 |4 Browser:IE4| N | O |
Event when text content is selected |
OnSelectStart |
HTML: 1 | 3 | 3.2 | 4 Browser:IE4| N | O |
Event triggered when the text content is selected |
Data Binding |
Event |
Browser support |
Description |
OnAfterUpdate |
HTML: 1 | 3 | 3.2 | 4 Browser:IE4| N | O |
Event triggered when data is transferred from a data source to an object. |
OnCellChange |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
When the data source changes |
OnDataAvailable |
HTML: 1 | 3 | 3.2 | 4 Browser:IE4| N | O |
Event triggered when data reception is complete |
OnDatasetChanged |
HTML: 1 | 3 | 3.2 | 4 Browser:IE4| N | O |
Events triggered when data sources change |
OnDatasetComplete |
HTML: 1 | 3 | 3.2 | 4 Browser:IE4| N | O |
Event triggered when all valid data of the Child data source is read |
OnErrorUpdate |
HTML: 1 | 3 | 3.2 | 4 Browser:IE4| N | O |
When the onBeforeUpdate event is used to trigger the cancellation of data transfer, the onAfterUpdate event is replaced |
OnRowEnter |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
Events triggered when the data in the current data source changes and new valid data exists |
OnRowExit |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
Event triggered when the data of the current data source is about to change |
OnRowsDelete |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
Events triggered when the current data record is deleted |
OnRowsInserted |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
Events triggered when a new data record is to be inserted to the current data source |
External events |
Event |
Browser support |
Description |
OnAfterPrint |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
Events triggered when a document is printed |
OnBeforePrint |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
Events triggered when the document is about to be printed |
OnFilterChange |
HTML: 1 | 3 | 3.2 | 4 Browser:IE4| N | O |
Events triggered when the filter effect of an object changes |
OnHelp |
HTML: 1 | 3 | 3.2 | 4 Browser:IE4| N | O |
Event triggered when the viewer presses F1 or the browser's help Selection |
OnPropertyChange |
HTML: 1 | 3 | 3.2 | 4 Browser:IE5| N | O |
Event triggered when one of the object's attributes changes |
OnReadyStateChange |
HTML: 1 | 3 | 3.2 | 4 Browser:IE4| N | O |
Event triggered when the object's initialization property value changes |