JS Code trigger event-function list

Source: Internet
Author: User

Onabort is triggered when the user interrupts image download.
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.
Onafterupdate is triggered when the associated object in the data source object is updated successfully on the Data Binding object.
The onbeforeactivate object is triggered immediately before it is set to the current element.
Onbeforecopy is triggered in the source object before being copied to the system clipboard.
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.
Onbeforeupdate is triggered on the Data Binding object before the associated objects in the data source object are successfully updated.
Onblur is triggered when the object loses the input focus.
Onbounce is triggered when the behavior attribute of the marquee object is set to "alternate" and the subtitle content reaches the window side.
Oncellchange is triggered when the data in the data supplier changes.
Onchange is triggered when the content of the object or selected area changes.
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.
Oncopy is triggered on the source element when you copy an object or select a zone and add it to the system clipboard.
Oncut is triggered on the source element when an object or selected area is deleted from the document and added to the system clipboard.
Ondataavailable is triggered whenever the data of the data source object that asynchronously transmits data arrives.
Ondatasetchanged is triggered when the dataset corresponding to the data source object changes.
When ondatasetcomplete is triggered, all data of the data source object is available.
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.
Onerror is triggered when an error occurs during object loading.
Onerrorupdate is triggered when an error occurs while updating the associated data in the data source object.
Onfilterchange is triggered when the visual filter changes the status or completes the conversion.
Onfinish is triggered when the subtitle loop is completed.
Onfocus is triggered when the object obtains the focus.
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.
Onhelp is triggered when you press the F1 key when the browser is the current window.
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.
Onlayoutcomplete is triggered when the layoutrect object is filled with the content of the source document after the layout is printed or previewed.
Onload is triggered immediately after the browser completes object loading.
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.
Onreset is triggered when the user resets the form.
Onresize is triggered when the object size 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.
When onrowenter is triggered, it indicates that the current row has been changed in the data source and a new data value is available on the object.
Onrowexit is triggered when the data source control changes the current row of the object.
Onrowsdelete is triggered when a row is to be deleted from the record set.
Onrowsinserted is triggered when a new row is inserted in the current record set.
Onscroll is triggered when you scroll the scroll bar of an object.
Onselect is triggered when the selected area changes.
Onselectionchange is triggered when the selected state of the document changes.
Triggered when the onselectstart object is to be selected.
Onstart is triggered at the beginning of every cycle of the marquee object.
Onstop is triggered when you click the stop button or exit the web page.
Onsubmit is triggered when the form is to be submitted.
OnUnload is triggered immediately before the object is detached.

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.