JavaScript Event List Narration

Source: Internet
Author: User
Tags key range valid
Javascript
Event Browser support Explanation
General Events OnClick IE3, N2 This event is triggered when the mouse clicks
OnDblClick IE4, N4 This event is triggered when the mouse double-clicks
OnMouseDown IE4, N4 This event is triggered when the mouse is pressed
OnMouseUp IE4, N4 This event is triggered when the mouse is pressed and released
onmouseover IE3, N2 This event is triggered when the mouse moves over a range of objects
OnMouseMove IE4, N4 This event is triggered when the mouse is moved
onmouseout IE4, N3 This event is triggered when the mouse leaves an object range
onkeypress IE4, N4 This event is triggered when a key on the keyboard is pressed and released.
OnKeyDown IE4, N4 This event is triggered when a key on the keyboard is pressed
OnKeyUp IE4, N4 This event is triggered when a key on the keyboard is pressed and released
Page related events Onabort IE4, N3 The picture was interrupted by the user at the time of downloading
onBeforeUnload IE4, N This event is triggered when the contents of the current page will be changed
OnError IE4, N3 This event is triggered when an error occurs
OnLoad IE3, N2 This event is triggered when the page content finishes
OnMove IE, N4 This event is triggered when the browser's window is moved
OnResize IE4, N4 This event is triggered when the browser's window size is changed
Onscroll IE4, N This event is triggered when the scroll bar position of the browser has changed
OnStop IE5, N This event is triggered when the browser's Stop button is pressed or the file being downloaded is interrupted
OnUnload IE3, N2 This event is triggered when the current page is changed
Form related events Onblur IE3, N2 This event is triggered when the current element loses focus
OnChange IE3, N2 This event is triggered when the current element loses focus and the contents of the element change
onfocus IE3, N2 This event is triggered when an element gets the focus
OnReset IE4, N3 This event is triggered when the Reset property in the form is fired
OnSubmit IE3, N2 This event is triggered when a form is submitted
Scrolling marquee Events Onbounce IE4, N This event is triggered when content within marquee is moved outside the marquee display range
OnFinish IE4, N This event is triggered when the MARQUEE element completes the content that needs to be displayed
OnStart IE4, N This event is triggered when the marquee element starts to display content
Edit Events Onbeforecopy IE5, N Triggers this event when the current selection of the page is to be copied to the Clipboard of the viewer's system
Onbeforecut IE5, N This event is triggered when part or all of the content in the page is moved away from the current page [clipping] and moved to the viewer's system Clipboard
Onbeforeeditfocus IE5, N The current element will enter the edit state
Onbeforepaste IE5, N This event is triggered when content is to be transferred from the browser's system Clipboard [paste] to the page
onbeforeupdate IE5, N Notifies the target object when the viewer pastes the contents of the system Clipboard
OnContextMenu IE5, N An event that triggers when the viewer presses the right mouse button to appear in a menu or when the page menu is triggered by a keyboard key
Oncopy IE5, N This event is triggered when the current selected content of the page is copied
Oncut IE5, N This event is triggered when the current selected content of the page is clipped
Ondrag IE5, N This event is triggered when an object is dragged [active event]
Ondragdrop IE, N4 An external object is dragged into the current window or frame by the mouse
Ondragend IE5, N This event is triggered when the mouse drags at the end, the mouse button is released
OnDragEnter IE5, N This event is triggered when an object dragged by the mouse enters its container range
OnDragLeave IE5, N This event is triggered when an object dragged by the mouse leaves its container range
OnDragOver IE5, N This event is triggered when a dragged object is dragged within the scope of another object container
Ondragstart IE4, N This event is triggered when an object is dragged
OnDrop IE5, N This event is triggered during a drag process when the mouse button is released
Onlosecapture IE5, N This event is triggered when the element loses the selection focus formed by mouse movement
Onpaste IE5, N This event is triggered when content is pasted
Onselect IE4, N event when text content is selected
Onselectstart IE4, N Event that is triggered when the text content selection starts to occur
Data binding onafterupdate IE4, N This event is triggered when data is finished passing from the data source to the object
Oncellchange IE5, N When the data source is changed
ondataavailable IE4, N To trigger an event when the data reception is complete
ondatasetchanged IE4, N Events that are triggered when data is changed by the data source
ondatasetcomplete IE4, N This event is triggered when all valid data for the child data source is read complete
onerrorupdate IE4, N Replace the onafterupdate event when data transfer is canceled using the onbeforeupdate Event trigger
onrowenter IE5, N Events that are triggered when data from the current data source changes and there are new valid data
onrowexit IE5, N Events that are triggered when data for the current data source is about to change
Onrowsdelete IE5, N This event is triggered when the current data record is deleted
onrowsinserted IE5, N This event is triggered when the current data source will insert a new data record
External events Onafterprint IE5, N This event is triggered when the document is printed
Onbeforeprint IE5, N This event is triggered when the document is about to be printed
Onfilterchange IE4, N Event that is triggered when the filter effect of an object is changed
OnHelp IE4, N This event is triggered when the viewer presses the F1 or browser's help selection
Onpropertychange IE5, N This event is triggered when one of the attributes of an object has changed
onReadyStateChange IE4, N This event is triggered when an 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.