| Event |
Browser support |
Explanation |
| General Events |
OnClick |
IE3, N2 |
This event is triggered when the mouse is clicked |
| OnDblClick |
IE4, N4 |
This event is triggered when the mouse double-clicks |
| OnMouseDown |
IE4, N4 |
This event is triggered when the mouse is pressed |
| OnMouseUp |
IE4, N4 |
This event is triggered when the mouse is released after the mouse is pressed |
| onmouseover |
IE3, N2 |
This event is triggered when the mouse moves over the range of an object |
| OnMouseMove |
IE4, N4 |
This event is triggered when the mouse moves |
| 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 key on the keyboard is pressed |
| OnKeyUp |
IE4, N4 |
This event is triggered when a key on the keyboard is pressed to release |
| Page-related events |
Onabort |
IE4, N3 |
The picture is interrupted by the user when downloading |
| onBeforeUnload |
IE4, N |
This event is triggered when the contents of the current page are going 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 finishes |
| OnMove |
IE, N4 |
This event is triggered when the browser's window is moved |
| OnResize |
IE4, N4 |
This event is triggered when the browser's 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 browser's Stop button 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 |
Triggers this event when the current element loses focus and the content of the element changes |
| onfocus |
IE3, N2 |
This event is triggered when an element receives focus |
| OnReset |
IE4, N3 |
This event is triggered when the properties of reset in the form are fired |
| OnSubmit |
IE3, N2 |
This event is triggered when a form is submitted |
| Scrolling caption Events |
Onbounce |
IE4, N |
This event is triggered when content within marquee is moved outside the marquee display range |
| OnFinish |
IE4, N |
This event is triggered when the MARQUEE element finishes what needs to be displayed |
| OnStart |
IE4, N |
This event is triggered when the marquee element starts displaying content |
| Edit Event |
Onbeforecopy |
IE5, N |
This event is triggered before the current selection of the page will be copied to the Clipboard of the viewer system |
| Onbeforecut |
IE5, N |
This event is triggered when part or all of the content in the page is moved off the current page [clip] and moved to the viewer's system Clipboard |
| Onbeforeeditfocus |
IE5, N |
The current element will go into edit state |
| Onbeforepaste |
IE5, N |
This event is triggered when the content is going to be transferred from the viewer's system Clipboard [paste] to the page |
| onbeforeupdate |
IE5, N |
Notifies the target object when the viewer pastes the contents of the system Clipboard |
| OnContextMenu |
IE5, N |
Event triggered when a viewer presses the right mouse button to appear on a menu or when a page menu is triggered by a keyboard key |
| Oncopy |
IE5, N |
This event is triggered when the current selected content of the page is copied |
| Oncut |
IE5, N |
This event is triggered when the current selected content of the page is clipped |
| Ondrag |
IE5, N |
This event is triggered when an object is dragged [active event] |
| Ondragdrop |
IE, N4 |
An external object is dragged into the current window or frame by the mouse |
| Ondragend |
IE5, N |
This event is triggered when the mouse drag is finished, 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 scope |
| OnDragLeave |
IE5, N |
This event is triggered when an object is dragged out of its container by the mouse object |
| OnDragOver |
IE5, N |
This event is triggered when a dragged object is dragged within the scope of another object container |
| Ondragstart |
IE4, N |
This event is triggered when an object is being dragged |
| OnDrop |
IE5, N |
This event is triggered when the mouse button is released during a drag |
| Onlosecapture |
IE5, N |
This event is triggered when the element loses the selection focus formed by the mouse movement |
| Onpaste |
IE5, N |
This event is triggered when the content is pasted |
| Onselect |
IE4, N |
event when text content is selected |
| Onselectstart |
IE4, N |
Events that are triggered when the text content selection will begin to occur |
| Data binding |
onafterupdate |
IE4, N |
This event is triggered when data is completed by the data source to the object's transfer |
| Oncellchange |
IE5, N |
When the data source is changed |
| ondataavailable |
IE4, N |
Event triggered when data reception is complete |
| ondatasetchanged |
IE4, N |
Events triggered when data changes in the data source |
| ondatasetcomplete |
IE4, N |
This event is triggered when all valid data for a child data source has been read |
| onerrorupdate |
IE4, N |
Replace onafterupdate Event when data transfer is canceled with onbeforeupdate Event trigger |
| onrowenter |
IE5, N |
Events that are triggered when the data of the current data source changes and there are new valid data |
| onrowexit |
IE5, N |
Events that are triggered when the data of the current data source is going 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 will be inserting 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 that are triggered when the filter effect of an object has changed |
| 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 properties of an object has changed |
| onReadyStateChange |
IE4, N |
This event is triggered when the initialization property value of an object has changed |