| Event |
Browser support |
Explanation |
| General events |
Onclick |
IE3, N2 |
This event is triggered when you click the mouse. |
| Ondblclick |
IE4, N4 |
This event is triggered when you double-click the mouse. |
| Onmousedown |
IE4, N4 |
Trigger this event when you press the mouse |
| Onmouseup |
IE4, N4 |
This event is triggered when you press the mouse and release the mouse. |
| Onmouseover |
IE3, N2 |
This event is triggered when you move the cursor over an object range. |
| Onmousemove |
IE4, N4 |
This event is triggered when you move the mouse. |
| Onmouseout |
IE4, N3 |
This event is triggered when the mouse leaves an object range. |
| Onkeypress |
IE4, N4 |
This event is triggered when a key on the keyboard is pressed and released. |
| Onkeydown |
IE4, N4 |
This event is triggered when a button on the keyboard is pressed |
| Onkeyup |
IE4, N4 |
This event is triggered when a button on the keyboard is pressed and opened |
| Page related events |
Onabort |
IE4, N3 |
The image is interrupted by the user during download. |
| Onbeforeunload |
IE4, N |
This event is triggered when the content of the current page is about to be changed |
| Onerror |
IE4, N3 |
This event is triggered when an error occurs. |
| Onload |
IE3, N2 |
This event is triggered when the page content is complete. |
| Onmove |
IE, N4 |
This event is triggered when the browser window is moved. |
| Onresize |
IE4, N4 |
This event is triggered when the browser window size is changed |
| Onscroll |
IE4, N |
This event is triggered when the browser's scroll bar position changes. |
| Onstop |
IE5, N |
This event is triggered when the stop button of the browser is pressed or the file being downloaded is interrupted. |
| Onunload |
IE3, N2 |
This event is triggered when the current page is changed |
| Form-related events |
Onblur |
IE3, N2 |
This event is triggered when the current element loses focus. |
| Onchange |
IE3, N2 |
This event is triggered when the current element loses focus and the element content changes. |
| Onfocus |
IE3, N2 |
This event is triggered when an element gets focus |
| Onreset |
IE4, N3 |
This event is triggered when the RESET attribute in the form is fired. |
| Onsubmit |
IE3, N2 |
This event is triggered when a form is submitted. |
| Rolling subtitle events |
Onbounce |
IE4, N |
This event is triggered when content in Marquee is moved out of the Marquee display range. |
| Onfinish |
IE4, N |
This event is triggered when the Marquee element completes the content to be displayed. |
| Onstart |
IE4, N |
This event is triggered when the Marquee element begins to display content |
| Edit event |
Onbeforecopy |
IE5, N |
This event is triggered when the selected content on the page is to be copied to the viewer's clipboard. |
| Onbeforecut |
IE5, N |
This event is 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 |
IE5, N |
The current element is about to enter the editing status. |
| Onbeforepaste |
IE5, N |
This event is triggered when the content is to be transferred [pasted] to the page from the browser's system clipboard |
| Onbeforeupdate |
IE5, N |
The target object is notified when the viewer pastes the content in the system clipboard. |
| Oncontextmenu |
IE5, N |
Events that are triggered when a viewer presses the right-click button to display a menu or triggers a page menu by pressing the keyboard. |
| Oncopy |
IE5, N |
This event is triggered when the selected content on the page is copied. |
| Oncut |
IE5, N |
This event is triggered when the selected content on the page is cut |
| Ondrag |
IE5, N |
This event [activity event] is triggered when an object is dragged. |
| Ondragdrop |
IE, N4 |
An external object is dragged to the current window or frame by the mouse |
| Ondragend |
IE5, N |
This event is triggered when the mouse drag ends, that is, the mouse button is released |
| Ondragenter |
IE5, N |
This event is triggered when an object that is dragged by the mouse enters its container range. |
| Ondragleave |
IE5, N |
This event is triggered when an object that is dragged by the mouse leaves its container range. |
| Ondragover |
IE5, N |
This event is triggered when a dragged object is dragged within the range of another object container. |
| Ondragstart |
IE4, N |
This event is triggered when an object is dragged. |
| Ondrop |
IE5, N |
This event is triggered when the mouse key is released during a drag process. |
| Onlosecapture |
IE5, N |
This event is triggered when an element loses the focus of selection formed by moving the mouse. |
| Onpaste |
IE5, N |
This event is triggered when the content is pasted |
| Onselect |
IE4, N |
Event when text content is selected |
| Onselectstart |
IE4, N |
Event triggered when the text content is selected |
| Data Binding |
Onafterupdate |
IE4, N |
This event is triggered when data is transferred from the data source to the object. |
| Oncellchange |
IE5, N |
When the data source changes |
| Ondataavailable |
IE4, N |
Event triggered when data reception is complete |
| Ondatasetchanged |
IE4, N |
Events triggered when data sources change |
| Ondatasetcomplete |
IE4, N |
This event is triggered when all valid data of the Child data source is read. |
| Onerrorupdate |
IE4, N |
When the onBeforeUpdate event is used to trigger the cancellation of data transfer, the onAfterUpdate event is replaced |
| Onrowenter |
IE5, N |
Events triggered when the data in the current data source changes and new valid data exists |
| Onrowexit |
IE5, N |
Event triggered when the data of the current data source is about to change |
| Onrowsdelete |
IE5, N |
This event is triggered when the current data record is deleted. |
| Onrowsinserted |
IE5, N |
This event is triggered when the current data source is about to insert a new data record |
| External events |
Onafterprint |
IE5, N |
This event is triggered when the document is printed |
| Onbeforeprint |
IE5, N |
This event is triggered when the document is about to be printed |
| Onfilterchange |
IE4, N |
Events triggered when the filter effect of an object changes |
| Onhelp |
IE4, N |
This event is triggered when the viewer presses F1 or the browser's help selection. |
| Onpropertychange |
IE5, N |
This event is triggered when one of the object attributes changes. |
| Onreadystatechange |
IE4, N |
This event is triggered when the object's initialization property value changes. |