Frequently used translation of Javasscript events _ basics
Source: Internet
Author: User
Onabort is triggered when a user interrupts downloading an image.
OnActivate is triggered when an object is set to an active element.
The document associated with the Onafterprint object is immediately triggered on the object after printing or printing preview.
Onafterupdate is triggered on a data-bound object when the associated object in the data source object is successfully updated.
The Onbeforeactivate object is triggered immediately before it is set to the current element.
Onbeforecopy is fired in the source object before it is copied to the system Clipboard in Central.
Onbeforecut-Zhong District is fired from the source object before it is deleted from the document.
Onbeforedeactivate fires immediately before activeelement changes from the current object to other objects in the parent document.
Onbeforeeditfocus is triggered before an object contained within an editable element enters the user interface activation state or when an editable container becomes a control check area.
Onbeforepaste is triggered on the target object before pasting from the system Clipboard to the document in the selected area.
The Onbeforeprint object's associated document is triggered on the object before it prints or prints a preview.
onBeforeUnload is triggered before the page will be unloaded.
Onbeforeupdate is triggered on a data-bound object before the associated object in the data source object is successfully updated.
Onblur is triggered when an object loses input focus.
Onbounce is triggered when the behavior property of the marquee object is set to "alternate" and the contents of the caption reach the side of the window.
Oncellchange is triggered when data changes are in the data provider.
OnChange is triggered when the contents of an object or selection change.
OnClick triggers when the user clicks the object with the left mouse button.
OnContextMenu is triggered when a user opens a context menu using the right mouse button to click the client area.
Oncontrolselect is triggered when the user is about to make a control selection for the object.
Oncopy triggers on the source element when the user replicates the object or selection and adds it to the system Clipboard.
Oncut is triggered on the source element when the object or selection is deleted from the document and added to the system Clipboard.
ondataavailable fires whenever data from a data source object that transmits data asynchronously arrives.
Ondatasetchanged is triggered when a data set corresponding to a data source object has changed.
A ondatasetcomplete trigger indicates that all data for the data source object is available.
OnDblClick is triggered when the user double-clicks the object.
OnDeactivate is triggered when the activeelement changes from the current object to another object in the parent document.
Ondrag continues to fire on the source object when a drag operation is in progress.
Ondragend triggers on the source object when the user releases the mouse after the drag operation finishes.
OnDragEnter triggers on the target element when the user drags the object to a legitimate drag target.
OnDragLeave triggers on the target object when the user moves the mouse out of the legitimate drag target during the drag operation.
OnDragOver when a user drags an object across a legitimate drag target, it continues to trigger on the target element.
Ondragstart triggers on the source object when the user starts dragging the text selection or when the object is selected.
OnDrop triggers 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 on a data-bound object when an error occurs updating the associated data in the data source object.
Onfilterchange is triggered when a visual filter changes state or completes a transformation.
OnFinish is triggered when the caption loop completes.
Onfocus is triggered when the object gets focus.
Onfocusin is triggered before the element will be set to focus.
Onfocusout triggers immediately after the focus is moved to the other element, triggering on the element that currently has focus.
OnHelp is triggered when the user presses the F1 key when the browser is the current window.
OnKeyDown is triggered when the user presses the keyboard key.
OnKeyPress is triggered when the user presses a literal key.
OnKeyUp is triggered when the user releases the keyboard key.
Onlayoutcomplete is triggered when the print or Print preview layout finishes populating the current Layoutrect object with content from the source document.
OnLoad fires immediately after the browser finishes loading the object.
Onlosecapture is triggered when the object loses mouse capture.
OnMouseDown is triggered when a user clicks an object with any mouse button.
Onmouseenter is triggered when the user moves the mouse pointer inside the object.
OnMouseLeave is triggered when the user moves the mouse pointer out of an object boundary.
OnMouseMove is triggered when the user moves the mouse over the object.
onMouseOut is triggered when the user moves the mouse pointer out of an object boundary.
onMouseOver is triggered when the user moves the mouse pointer inside the object.
OnMouseUp is triggered when the user releases the mouse button while the mouse is over the object.
OnMouseWheel is triggered when the mouse wheel button rotates.
OnMove triggers when an object is moved.
Onmoveend is triggered when the object stops moving.
Onmovestart is triggered when the object begins to move.
Onpaste triggers on the target object when the user pastes data to transfer data from the system Clipboard to the document.
Onpropertychange is triggered when a property change occurs on an object that occurs on the object.
onReadyStateChange is triggered when an object's state changes.
OnReset is triggered when the user resets the form.
OnResize is triggered when the size of the object is about to change.
Onresizeend is triggered when the user changes the size of the object in the selection area of the control.
Onresizestart is triggered when the user starts to change the size of the object in the control's check area.
The onrowenter trigger indicates that the current row has been changed in the data source and that there are new data values available on the object.
Onrowexit fires before the data source control changes the current row of the object.
Onrowsdelete is triggered when the row is to be deleted from the recordset.
Onrowsinserted is triggered when a new row is inserted in the current Recordset.
Onscroll is triggered when the user scrolls the scroll bar of an object.
Onselect is triggered when the current selection changes.
Onselectionchange is triggered when the selected state of the document changes.
The Onselectstart object will be triggered when it is about to be selected.
OnStart is triggered at the beginning of each loop of the marquee object.
OnStop is triggered when the user clicks the Stop button or leaves the Web page.
OnSubmit is triggered when the form is to be committed.
OnUnload fires immediately before the object is unloaded.
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.