General Events |
Event |
Browser support |
Describe |
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 |
Event |
Browser support |
Describe |
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 |
Event |
Browser support |
Describe |
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 |
Event |
Browser support |
Describe |
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 |
Event |
Browser support |
Describe |
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 |
Event |
Browser support |
Describe |
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 |
Event |
Browser support |
Describe |
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 |
|