Javascript event Summary

Source: Internet
Author: User

General events
Description supported by event Browser
Onclick ie3 | N2 | O Mouse Click Event, which can be clicked 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 | o events triggered when you move the cursor over an object range
Onmousemove ie4 | N4 | events triggered when the O cursor moves
Onmouseout ie4 | N3 | o events triggered when the mouse leaves an 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]

Page related events
Description supported by event Browser
Onabort ie4 | N3 | user interrupted when downloading the O3 Image
Onbeforeunload ie4 | n | event triggered when the content of the current page of O3 is about to be changed
Onerror ie4 | N3 | catch 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

Form-related events
Description supported by event 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

Rolling subtitle events
Description supported by event Browser
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 event
Description supported by event Browser
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 a viewer presses the right-click menu to display the menu or triggers the page menu by pressing the button on the keyboard [try to add the <body> in the page to prohibit use right-click]
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

Data Binding
Description supported by 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

Data Binding
Description supported by 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

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.