EventType events in js and their browser support

  • 2020-03-30 00:40:33
  • OfStack

General event event browser supports description

OnClick IE3|N2|O3 mouse click event, the majority of the mouse click within the control of an object
OnDblClick IE4|N4|O double click event
OnMouseDown IE4|N4|O button on the mouse is pressed
OnMouseUp IE4|N4|O when the mouse is pressed and released
OnMouseOver IE3|N2|O3 an event that is triggered when the mouse moves over the range of an object
OnMouseMove IE4|N4|O events that are triggered when the mouse moves
OnMouseOut IE4|N3|O3 events that are triggered when the mouse moves out of the scope of an object
OnKeyPress IE4|N4|O events that are triggered when a key on the keyboard is pressed and released.
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 supports description

OnAbort IE4|N3|O images were interrupted by the user while downloading
OnBeforeUnload IE4|N|O events that are triggered when the contents of the current page are about to be changed
OnError IE4|N3|O catches errors that occur on the current page for some reason, such as script errors and external data reference errors
OnLoad IE3|N2|O3 page empty when passed to the browser, including the external file to complete the onMove IE|N4|O browser window was moved
OnResize IE4|N4|O event that fires when the browser's window size is changed
OnScroll IE4|N|O browser scrollbar position changes when the event is triggered
The event that is triggered when the stop button of the browser is pressed or the file being downloaded is interrupted
OnUnload IE3|N2|O3 event that is triggered when the current page will be changed

Form related events the event browser supports descriptions

OnBlur IE3|N2|O3 when the current element loses focus
OnChange IE3, |, N2, |, O3
OnFocus IE3|N2|O3 event that fires when an element gets focus
OnReset IE4|N3|O3 event that fires when the RESET property in the form is fired
OnSubmit IE3|N2|O3 an event that is triggered when a form is submitted

Scrolling caption event event browser supports description

OnBounce IE4|N|O events that are triggered when the contents within a Marquee are moved outside the Marquee display
OnFinish IE4|N|O events that are triggered when the Marquee element completes what needs to be displayed
OnStart IE4|N|O event that fires when the Marquee element begins to display content

Edit event event browser support description

OnBeforeCopy IE5|N|O events that are triggered before the selected content of the page is copied to the viewer's clipboard
OnBeforeCut IE5|N|O event that is triggered when part or all of the contents of a page will be moved from the current page [clip] and moved to the viewer's system clipboard
OnBeforeEditFocus IE5|N|O the current element is going to be edited
OnBeforePaste IE5|N|O events that are triggered when the content is to be transferred [pasted] from the viewer's system clipboard to the page
OnBeforeUpdate IE5|N|O notifies the target when the viewer pastes the contents of the system clipboard
OnContextMenu IE5|N|O the event that is triggered when the viewer presses the right mouse button to display the menu or to trigger the page menu by pressing the key of the keyboard [try adding onContentMenu="return false" in the page <body> to disable the right mouse button]
OnCopy IE5|N|O events that are triggered when the current selected content of the page is copied
OnCut IE5|N|O event that fires when the current selected content of the page is clipped
OnDrag IE5|N|O events that are triggered when an object is dragged
OnDragDrop IE|N4|O an external object is dragged by the mouse into the current window or frame
OnDragEnd IE5|N|O an event that is triggered when the drag ends, i.e. the mouse button is released
OnDragEnter IE5|N|O events that are triggered when an object is dragged by the mouse into its container
OnDragLeave IE5|N|O events that are triggered when an object is dragged by the mouse away from its container
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 will be dragged
OnDrop IE5|N|O the event that is triggered when the mouse key is released during a drag
OnLoseCapture IE5|N|O events that are triggered when an element loses the focus of the selection created by mouse movement
OnPaste IE5|N|O event that fires when content is pasted
OnSelect IE4|N|O events when the text content is selected
OnSelectStart IE4|N|O events that are triggered when text content selection will begin to occur

Data binding event browser supports description

OnAfterUpdate IE4|N|O events that are triggered when data is transferred from the data source to the object
OnCellChange IE5|N|O when the data source changes
OnDataAvailable IE4|N|O triggers an event when data reception is complete
OnDatasetChanged IE4|N|O event that is triggered when the data source changes
OnDatasetComplete IE4|N|O event that is fired when all valid data from a child data source is read
OnErrorUpdate IE4|N|O replaces the onAfterUpdate event when the data transfer is cancelled using the onBeforeUpdate event trigger
OnRowEnter IE5|N|O event that is triggered when the data from the current data source changes and there is new valid data
OnRowExit IE5|N|O event that is triggered when the data from the current data source is about to change
OnRowsDelete IE5|N|O event that is triggered when the current data record will be deleted
OnRowsInserted IE5|N|O event data binding event browser support description that is triggered when the current data source is about to insert a new data record
OnAfterPrint IE5|N|O events that are triggered when a document is printed
OnBeforePrint IE5|N|O events that are fired when the document is about to print
OnFilterChange IE4|N|O event that fires when the filter effect of an object changes
OnHelp IE4|N|O events that are triggered when the viewer presses F1 or the browser's help selection
OnPropertyChange IE5|N|O event that is triggered when one of the properties of an object changes
OnReadyStateChange IE4|N|O event that fires when the value of the initialization property of an object changes

Related articles: