| Javascript event list explanation |
| 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. |