Javascript multi-browser event Overview

Source: Internet
Author: User

Description supported by event Explorer

OnClick IE3 | N2 | O3 mouse click event. You can click the event within the control range of an object.

OnDblClick IE4 | N4 | O double-click event

OnMouseDown IE4 | N4 | O the button on the mouse is pressed

OnMouseUp IE4 | N4 | events triggered when the O Mouse is pressed and released

OnMouseOver IE3 | N2 | the event that is triggered when you move the O3 cursor over an object range

OnMouseMove IE4 | N4 | events triggered when the O cursor moves

OnMouseOut IE4 | N3 | the event that is triggered when the mouse moves out of a certain object range.

OnKeyPress IE4 | N4 | O events triggered when a key on the keyboard is pressed and released. [Note: the page must contain focused objects]

OnKeyDown IE4 | N4 | O events triggered when a key on the keyboard is pressed [NOTE: The page must contain focused objects]

OnKeyUp IE4 | N4 | O events triggered when a key on the keyboard is pressed and opened [NOTE: The page must contain focused objects]

 

Webpage-related event description supported by Browser

OnAbort IE4 | N3 | O image downloaded by the user

OnBeforeUnload IE4 | N | O events triggered when the content of the current page is about to be changed

OnError IE4 | N3 | O captures errors on the current page for some reason, such as script errors and external data reference errors.

OnLoad IE3 | N2 | events triggered when the content on the O3 page is null and transferred to the browser, including external file introduction completion

OnMove IE | N4 | event triggered when the window of O browser is moved

OnResize IE4 | N4 | O events triggered when the browser's window size is changed

OnScroll IE4 | N | events triggered when the position of the browser's scroll bar changes

OnStop IE5 | N | events triggered when the stop button of O browser is pressed or files being downloaded are interrupted

OnUnload IE3 | N2 | event triggered when the current page of O3 is changed

 

Description of Event Events related to forms supported by Browser

OnBlur IE3 | N2 | events triggered when the current O3 element loses focus [both mouse and keyboard triggers]

OnChange IE3 | N2 | events triggered when the current O3 element loses focus and the content of the element changes [both mouse and keyboard triggers]

OnFocus IE3 | N2 | O3 event triggered when an element obtains focus

OnReset IE4 | N3 | O3 event triggered when the RESET attribute in the form is fired

OnSubmit IE3 | N2 | events triggered when a form O3 is submitted

 

Description supported by the browser for Rolling subtitle Event Events

OnBounce IE4 | N | events triggered when the content of O in Marquee is moved out of the Marquee display range

OnFinish IE4 | N | O events triggered when the Marquee element completes the content to be displayed

OnStart IE4 | N | O events triggered when the Marquee element begins to display content

 

Edit description of event Explorer

OnBeforeCopy IE5 | N | O events triggered when the selected content on the page is to be copied to the browser's clipboard

OnBeforeCut IE5 | N | O events triggered when part or all of the content on the page is removed from the current page [clipboard] and moved to the browser's system clipboard

OnBeforeEditFocus IE5 | N | O the current element is about to enter the editing status

OnBeforePaste IE5 | N | the event that is triggered when the O content is to be transferred [pasted] to the page from the browser's system clipboard

OnBeforeUpdate IE5 | N | O notifies the target object when the browser pastes the content in the system clipboard.

OnContextMenu IE5 | N | O events triggered when the viewer presses the right-click menu to display the menu or triggers the page menu by pressing the keyboard. [try adding onContentMenu = "return to <body> false: you cannot right-click it.]

OnCopy IE5 | N | O events triggered when the selected content on the page is copied

OnCut IE5 | N | O events triggered when the selected content on the page is cut

OnDrag IE5 | N | O event triggered when an object is dragged [activity event]

OnDragDrop IE | N4 | O an external object is dragged to the current window or frame by the mouse

OnDragEnd IE5 | N | O event triggered when the mouse is dragged to the end, that is, the mouse button is released

OnDragEnter IE5 | N | O events triggered when an object is dragged by the mouse to enter its container range

OnDragLeave IE5 | N | O events triggered when an object is dragged by the mouse out of its container range

OnDragOver IE5 | N | O events triggered when a dragged object is dragged within the range of another object container

OnDragStart IE4 | N | O event triggered when an object is dragged

OnDrop IE5 | N | O events triggered when the mouse key is released during a drag operation

OnLoseCapture IE5 | N | O events triggered when an element loses its mouse movement and the selected focus

OnPaste IE5 | N | O events triggered when the content is pasted

OnSelect IE4 | N | O event when text content is selected

OnSelectStart IE4 | N | O event triggered when the text content is selected

 

Description supported by data binding event Browser

OnAfterUpdate IE4 | N | O events 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 event triggered when data is received

OnDatasetChanged IE4 | N | O event triggered when data source changes

OnDatasetComplete IE4 | N | O events triggered when all valid data of the Child data source is read

OnErrorUpdate IE4 | N | O when the onBeforeUpdate event is triggered to cancel data transfer, the onAfterUpdate event is replaced

OnRowEnter IE5 | N | O events triggered when data in the current data source changes and new valid data exists

OnRowExit IE5 | N | O events triggered when the data in the current data source is about to change

OnRowsDelete IE5 | N | O events triggered when the current data record is deleted

OnRowsInserted IE5 | N | O events triggered when the current data source is about to insert a new data record

 

Description supported by data binding event Browser

OnAfterPrint IE5 | N | O events triggered when a document is printed

OnBeforePrint IE5 | N | O events triggered when the document is about to be printed

OnFilterChange IE4 | N | O events triggered when the filter effect of an object changes

OnHelp IE4 | N | O events triggered when the viewer presses F1 or the browser's help Selection

OnPropertyChange IE5 | N | O event triggered when one of the object's attributes changes

OnReadyStateChange IE4 | N | O event triggered when the object's initialization property value changes

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.