JavaScript Syntax: a collection of all on events

Source: Internet
Author: User

Onactivate is triggered when the object is set to an active element.
The document associated with the onafterprint object is immediately triggered on the object after being printed or previewed.
The onbeforeactivate object is triggered immediately before it is set to the current element.
Onbeforecut is triggered in the source object before being deleted from the document in the central region.
Onbeforedeactivate is triggered immediately before activeElement changes from the current object to another object in the parent document.
Onbeforeeditfocus is triggered before an object contained in an editable element enters the user interface activation state or before the Editable container becomes the control selected area.
Onbeforepaste is triggered on the target object before being pasted from the system clipboard to the document in the selected area.
The associated document of the onbeforeprint object is triggered on the object before being printed or previewed.
Onbeforeunload is triggered before the page is to be detached.
Onclick is triggered when you left-click an object.
Oncontextmenu is triggered when you right-click the client area to open the context menu.
Oncontrolselect is triggered when you want to create a control area for this object.
Oncut is triggered on the source element when an object or selected area is deleted from the document and added to the system clipboard.
Ondblclick is triggered when you double-click an object.
Ondeactivate is triggered when activeElement changes from the current object to another object in the parent document.
Ondrag is triggered continuously on the source object during the drag operation.
Ondragend is triggered on the source object when you release the mouse after the drag operation is complete.
Ondragenter is triggered on the target element when you drag an object to a valid drag target.
Ondragleave is triggered on the target object when you move the mouse out of a valid drag target during the drag operation.
Ondragover is triggered continuously on the target element when the user drags an object across a valid drag target.
Ondragstart is triggered when the user starts to drag the selected text area or the selected object on the source object.
Ondrop is triggered on the target object when the mouse button is released during the drag operation.
Onfilterchange is triggered when the visual filter changes the status or completes the conversion.
Onfocusin is triggered before the element is set to focus.
Onfocusout is triggered immediately after moving the focus to other elements on the element with the current focus.
Onkeydown is triggered when you press the keyboard button.
Onkeypress is triggered when you press the literal key.
Onkeyup is triggered when the user releases the keyboard button.
Onload is triggered immediately after the browser loads the object.
Onlosecapture is triggered when an object loses Mouse capture.
Onmousedown is triggered when you click an object with any mouse button.
Onmouseenter is triggered when you move the mouse pointer to an object.
Onmouseleave is triggered when the user moves the mouse pointer out of the Object Boundary.
Onmousemove is triggered when you move the mouse over an object.
Onmouseout is triggered when you move the mouse pointer out of the Object Boundary.
Onmouseover is triggered when you move the mouse pointer to an object.
Onmouseup is triggered when you release the mouse button when the mouse is over the object.
Onmousewheel is triggered when the scroll wheel button is rotated.
Onmove is triggered when the object is moved.
Onmoveend is triggered when the object is stopped.
Onmovestart is triggered when the object begins to move.
Onpaste is triggered on the target object when you paste data to transfer data from the system clipboard to the document.
Onpropertychange is triggered when attribute changes occur on the object.
Onreadystatechange is triggered when the object state changes.
Onresizeend is triggered when you change the object size in the selected area of the control.
Onresizestart is triggered when you start to change the object size in the selected area of the control.
Onscroll is triggered when you scroll the scroll bar of an object.
Onselect is triggered when the selected area changes.
Triggered when the onselectstart object is to be selected.
Onunload is triggered immediately before the object is detached.

From: http://www.daxi8.cn/

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.