Event |
Browser support |
Describe |
OnClick |
ie3| n2| O3 |
Mouse click event, multi-use in the scope of an object control mouse click |
OnDblClick |
ie4| n4| O |
Mouse Double-click event |
OnMouseDown |
ie4| n4| O |
The button on the mouse is pressed. |
OnMouseUp |
ie4| n4| O |
Event fired when the mouse is pressed and released |
OnMouseOver |
ie3| n2| O3 |
Event that is triggered when the mouse moves over the range of an object |
OnMouseMove |
ie4| n4| O |
Events triggered when the mouse moves |
onmouseout |
ie4| n3| O3 |
Events that are triggered when the mouse leaves an object range |
OnKeyPress |
ie4| n4| O |
The event that is triggered when a key on the keyboard is pressed and released. [Note: There must be a focused object within the page] |
OnKeyDown |
ie4| n4| O |
Event triggered when a key on the keyboard is pressed [Note: There must be a focused object in the page] |
OnKeyUp |
ie4| n4| O |
Event triggered when a key on the keyboard is pressed to release [note: There must be a focused object in the page] |
page-related events
Event |
Browser support |
Describe |
Onabort |
ie4| n3| O |
The picture is interrupted by the user when downloading |
onBeforeUnload |
ie4| n| O |
Event triggered when the content of the current page is about to be changed |
OnError |
ie4| n3| O |
Catch the current page errors that occur for some reason, such as errors in script errors and external data references |
OnLoad |
ie3| n2| O3 |
Events that are triggered when the page is empty to complete the transfer to the browser, including external file ingestion complete |
OnMove |
ie| n4| O |
Events that are triggered when the browser's window is moved |
OnResize |
ie4| n4| O |
Events that are triggered when the browser's window size is changed |
Onscroll |
ie4| n| O |
Event triggered when the browser's scroll bar position has changed |
OnStop |
ie5| n| O |
Event triggered when the browser's Stop button is pressed or the file being downloaded is interrupted |
OnUnload |
ie3| n2| O3 |
Events that are triggered when the current page is changed |
form-related events
event |
browser support |
description |
onblur |
ie3| n2| O3 |
|
onchange |
ie3| n2| O3 |
|
onfocus< /td> |
ie3| n2| O3 |
|
onreset |
ie4| n3| O3 |
|
onsubmit |
ie3| n2| O3 |
event triggered when a form is submitted |
Scrolling caption Events
Event |
Browser support |
Describe |
Onbounce |
ie4| n| O |
Events that are triggered when content within marquee is moved outside the marquee display range |
OnFinish |
ie4| n| O |
Events that are triggered when the MARQUEE element finishes the content that needs to be displayed |
OnStart |
ie4| n| O |
Event triggered when the marquee element starts displaying content |
Edit Event
Event |
Browser support |
Describe |
Onbeforecopy |
ie5| n| O |
Event triggered before the current selection of the page will be copied to the Clipboard of the viewer system |
Onbeforecut |
ie5| n| O |
Event triggered when part or all of the contents of a page is moved away from the current page [clip] and moved to the viewer's system Clipboard |
Onbeforeeditfocus |
ie5| n| O |
The current element will go into edit state |
Onbeforepaste |
ie5| n| O |
Event triggered when content is going to be transferred from the viewer's system Clipboard [paste] to the page |
onbeforeupdate |
ie5| n| O |
Notifies the target object when the viewer pastes the contents of the system Clipboard |
OnContextMenu |
ie5| n| O |
Event that is triggered when the viewer presses the right mouse button to a menu or triggers a page menu with a keyboard key [try adding oncontentmenu= "return false" to the <body> in the page to disable the right mouse button] |
Oncopy |
ie5| n| O |
Events that are triggered when the page's current selection is copied |
Oncut |
ie5| n| O |
Event triggered when the current selection of the page is clipped |
Ondrag |
ie5| n| O |
Events that are triggered when an object is dragged [active event] |
Ondragdrop |
ie| n4| O |
An external object is dragged into the current window or frame by the mouse |
Ondragend |
ie5| n| O |
The event that is triggered when the mouse is dragged over, that is, the mouse button is released. |
OnDragEnter |
ie5| n| O |
Event that is triggered when an object is dragged into its container by a mouse drag object |
OnDragLeave |
ie5| n| O |
Event triggered when an object is dragged out of its container by an object that the mouse drags |
OnDragOver |
ie5| n| O |
Event that is triggered when a dragged object is dragged within the scope of another object container |
Ondragstart |
ie4| n| O |
Events that are triggered when an object is dragged |
OnDrop |
ie5| n| O |
Event triggered when the mouse button is released during a drag |
Onlosecapture |
ie5| n| O |
Event triggered when an element loses the selection focus formed by mouse movement |
Onpaste |
ie5| n| O |
Events that are triggered when content is pasted |
OnSelect |
ie4| n| O |
event when text content is selected |
Onselectstart |
ie4| n| O |
Events that are triggered when the text content selection will begin to occur |
Data Binding
Event |
Browser support |
Describe |
onafterupdate |
ie4| n| O |
Events that are triggered when data completes a transfer from a data source to an object |
Oncellchange |
ie5| n| O |
When the data source is changed |
ondataavailable |
ie4| n| O |
Event triggered when data reception is complete |
ondatasetchanged |
ie4| n| O |
Events triggered when data changes in the data source |
ondatasetcomplete |
ie4| n| O |
Event that is triggered when all valid data for a child data source is read |
onerrorupdate |
ie4| n| O |
Replace onafterupdate Event when data transfer is canceled with onbeforeupdate Event trigger |
onrowenter |
ie5| n| O |
Events that are triggered when the data of the current data source changes and there are new valid data |
onrowexit |
ie5| n| O |
Events that are triggered when the data of the current data source is going to change |
Onrowsdelete |
ie5| n| O |
Events that are triggered when the current data record is deleted |
onrowsinserted |
ie5| n| O |
Event that is triggered when the current data source is about to insert a new data record |
Data Binding
event |
browser support |
description |
onafterprint |
ie5| n| O |
|
onbeforeprint |
ie5| n| O |
|
onfilterchange |
ie4| n| O |
|
onhelp |
ie4| n| O |
events triggered when a viewer presses F1 or the browser's help selection |
onpropertychange |
ie5| n| O |
|
onreadystatechange |
ie4| n| O |
|
JavaScript mouse Events Daquan