| General Events |
| Events |
Browser Support |
Description |
| OnClick |
Html:2 | 3 | 3.2 | 4 Browser: IE3 | N2 | O3 |
Mouse click events, more than the control of an object in the range of mouse clicks |
| OnDblClick |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N4 | O |
Mouse Double-click event |
| OnMouseDown |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N4 | O |
The button on the mouse was pressed |
| OnMouseUp |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N4 | O |
Events fired when the mouse is pressed and released |
| OnMouseOver |
Html:2 | 3 | 3.2 | 4 Browser: IE3 | N2 | O3 |
Event that is triggered when the mouse moves over a range of objects |
| OnMouseMove |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N4 | O |
Events that are triggered when the mouse is moved |
| onmouseout |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N3 | O3 |
Event triggered when the mouse leaves a range of objects |
| OnKeyPress |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N4 | O |
The event that is triggered when a key on the keyboard is pressed and released. [Note: There must be focused objects on the page] |
| OnKeyDown |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N4 | O |
Event that is triggered when a key on the keyboard is pressed [Note: There must be a focused object on the page] |
| OnKeyUp |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N4 | O |
An event that is triggered when a key on the keyboard is pressed to open [note: There must be a focused object on the page] |
| Page related events |
| Events |
Browser Support |
Description |
| Onabort |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N3 | O |
The picture was interrupted by the user at the time of downloading |
| onBeforeUnload |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N | O |
Event that is triggered when the contents of the current page are about to be changed |
| OnError |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N3 | O |
Catch the current page. Errors that occur for some reason, such as scripting errors and external data references |
| OnLoad |
Html:2 | 3 | 3.2 | 4 Browser: IE3 | N2 | O3 |
The empty page completes the events that are triggered when you transfer to the browser, including the external file introduction complete |
| OnMove |
Html:2 | 3 | 3.2 | 4 Browser:ie | N4 | O |
Event that fires when the browser's window is moved |
| OnResize |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N4 | O |
Events that are triggered when the browser's window size is changed |
| Onscroll |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N | O |
Event triggered when the scroll bar position of the browser changes |
| OnStop |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
Event triggered when the stop button of the browser is pressed or the file being downloaded is interrupted |
| OnUnload |
Html:2 | 3 | 3.2 | 4 Browser: IE3 | N2 | O3 |
Event that is triggered when the current page will be changed |
| Form related events |
| Events |
Browser Support |
Description |
| OnBlur |
Html:2 | 3 | 3.2 | 4 Browser: IE3 | N2 | O3 |
Event triggered when the current element loses focus [both mouse and keyboard can be triggered] |
| OnChange |
Html:2 | 3 | 3.2 | 4 Browser: IE3 | N2 | O3 |
Events that trigger when the current element loses focus and the contents of the element are changed [mouse and keyboard triggers are available] |
| onfocus |
Html:2 | 3 | 3.2 | 4 Browser: IE3 | N2 | O3 |
The event that is triggered when an element gets the focus |
| OnReset |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N3 | O3 |
The event that is triggered when the Reset property in the form is fired |
| OnSubmit |
Html:2 | 3 | 3.2 | 4 Browser: IE3 | N2 | O3 |
An event that is triggered when a form is submitted |
| Scrolling marquee Events |
| Events |
Browser Support |
Description |
| Onbounce |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N | O |
Events that are triggered when content within a marquee is moved outside the marquee display range |
| OnFinish |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N | O |
Event triggered when the MARQUEE element completes the content that needs to be displayed |
| OnStart |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N | O |
Event that is triggered when the marquee element starts to display content |
| Edit Events |
| Events |
Browser Support |
Description |
| Onbeforecopy |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
event that triggers when the current selected content of the page is to be copied to the viewer's system Clipboard |
| Onbeforecut |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
An event that is triggered when part or all of the content in a page is moved away from the current page [clipping] and moved to the viewer's system Clipboard |
| Onbeforeeditfocus |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
The current element will enter the edit state |
| Onbeforepaste |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
Events that are triggered when content is to be routed from the browser's system Clipboard [paste] to the page |
| onbeforeupdate |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
Notifies the target object when the viewer pastes the contents of the system Clipboard |
| OnContextMenu |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
The event that triggers when the viewer presses the right mouse button to appear on the menu or triggers the page menu by pressing the key on the keyboard [try adding oncontentmenu= "return false" in <body> on the page to prevent the right mouse button from being used] |
| Oncopy |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
Event triggered when the current selected content of the page is copied |
| Oncut |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
Event triggered when the current selected content of the page is clipped |
| Ondrag |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
Event triggered when an object is dragged [active event] |
| Ondragdrop |
Html:2 | 3 | 3.2 | 4 Browser:ie | N4 | O |
An external object is dragged into the current window or frame by the mouse |
| Ondragend |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
When the mouse is dragged at the end of the event triggered, the mouse button is released |
| OnDragEnter |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
Event that is triggered when an object dragged by the mouse enters its container range |
| OnDragLeave |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
Event triggered when an object dragged by the mouse leaves its container range |
| OnDragOver |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
The event that is triggered when a dragged object is dragged within the bounds of another object container [active event] |
| Ondragstart |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N | O |
Event that is triggered when an object is dragged |
| OnDrop |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
Events that are triggered when a mouse button is released during a drag process |
| Onlosecapture |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
Event triggered when the element loses the selection focus formed by mouse movement |
| Onpaste |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
Events that are triggered when content is pasted |
| Onselect |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N | O |
event when text content is selected |
| Onselectstart |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N | O |
Event that is triggered when the text content selection starts to occur |
| Data binding |
| Events |
Browser Support |
Description |
| onafterupdate |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N | O |
Events that are triggered when data is completed by the data source to the object's delivery |
| Oncellchange |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
When the data source is changed |
| ondataavailable |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N | O |
To trigger an event when the data reception is complete |
| ondatasetchanged |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N | O |
Events that are triggered when data is changed by the data source |
| ondatasetcomplete |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N | O |
The event that is triggered when all valid data for the child data source is read complete |
| onerrorupdate |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N | O |
Replace the onafterupdate event when data transfer is canceled using the onbeforeupdate Event trigger |
| onrowenter |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
Events that are triggered when data from the current data source changes and there are new valid data |
| onrowexit |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
Events that are triggered when data for the current data source is about to change |
| Onrowsdelete |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
Event that is triggered when the current data record is deleted |
| onrowsinserted |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
The event that is triggered when the current data source will insert a new data record |
| External events |
| Events |
Browser Support |
Description |
| Onafterprint |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
Events that are triggered when a document is printed |
| Onbeforeprint |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
Events that are triggered when a document is about to be printed |
| Onfilterchange |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N | O |
Event that is triggered when the filter effect of an object is changed |
| OnHelp |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N | O |
Event triggered when the viewer presses the F1 or browser's help selection |
| Onpropertychange |
Html:2 | 3 | 3.2 | 4 Browser: IE5 | N | O |
Event that is triggered when one of the properties of an object is changed |
| onReadyStateChange |
Html:2 | 3 | 3.2 | 4 Browser: IE4 | N | O |
Triggered when an object's initialization property value changes |