Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the list of javascript events

2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly talks about "what is the list of javascript events". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn what is the javascript event list.

Javascript event list explanation event browser supports interpretation of general event onclickIE3, trigger this event ondblclickIE4 when N2 mouse click, trigger this event onmousedownIE4 when N4 mouse double click, trigger this event onmouseupIE4 when N4 mouse is pressed, trigger this event onmouseoverIE3 when N4 mouse is pressed and release mouse, N2 trigger this event onmousemoveIE4 when mouse moves over a range of objects, trigger this event onmouseoutIE4 when N4 mouse moves, N3 triggers this event onkeypressIE4 when the mouse leaves the scope of an object, N4 triggers this event when a key on the keyboard is pressed and released. OnkeydownIE4, N4 triggers this event onkeyupIE4 when a key on the keyboard is pressed, N4 triggers this event page related event onabortIE4 when a key on the keyboard is pressed to release, N3 picture is interrupted by the user during download, N4 triggers this event onerrorIE4 when the content of the current page is about to be changed, Trigger this event onloadIE3 when N3 has an error, trigger this event onmoveIE when N2 page content is complete, trigger this event onresizeIE4 when the window of the N4 browser is moved, N4 trigger this event onscrollIE4 when the window size of the browser is changed, trigger this event onstopIE5 when the position of the scroll bar of the N browser changes, trigger this event when the stop button of the N browser is pressed, or the file being downloaded is interrupted onunloadIE3, Trigger this event form related event onblurIE3 when N2 current page is to be changed, trigger this event onchangeIE3 when N2 current element loses focus, N2 current element loses focus and element content changes, trigger this event onfocusIE3, N2 trigger this event onresetIE4 when an element gains focus, N3 trigger this event onsubmitIE3 when the attribute of RESET in the form is activated, N2 trigger this event scrolling subtitle event onbounceIE4 when a form is submitted, This event onfinishIE4 is triggered when the content within the Marquee is moved outside the scope of the Marquee display, N when the Marquee element completes the content to be displayed, N when the Marquee element starts to display the content, N triggers the event editing event onbeforecopyIE5, N triggers this event onbeforecutIE5 before the current selected content of the page is about to be copied to the clipboard of the viewer's system, This event onbeforeeditfocusIE5 is triggered when some or all of the content in the page is to be removed from the current page [clipboard] and moved to the viewer's system clipboard, N the current element is about to enter the editing state onbeforepasteIE5, the event onbeforeupdateIE5 is triggered when the N content is about to be transferred [pasted] to the page from the viewer's system clipboard, N notifies the target object oncontextmenuIE5 when the viewer pastes the contents in the system clipboard, N event oncopyIE5 triggered when the viewer presses the right mouse button to appear the menu or triggers the page menu through keyboard keys, N triggers this event oncutIE5 when the current selected content of the page is copied, N triggers this event ondragIE5 when the current selected content of the page is cut, N triggers this event [active event] ondragdropIE when an object is dragged, N4 an external object is dragged into the current window or frame ondragendIE5, N this event is triggered when the mouse drag ends That is, the mouse button is released ondragenterIE5, N triggers this event ondragleaveIE5 when the object dragged by the mouse enters its container range, N triggers this event ondragoverIE5 when the object dragged by the mouse leaves its container scope, N triggers this event ondragstartIE4 when a dragged object is dragged within the scope of another object container, N triggers this event ondropIE5 when an object is about to be dragged, N in a drag process. Trigger this event onlosecaptureIE5 when the mouse button is released, N trigger this event onpasteIE5 when the element loses the selection focus formed by mouse movement, N trigger this event onselectIE4 when the content is pasted, N event onselectstartIE4 when the text content is selected, N event data binding onafterupdateIE4 triggered when the text content selection will begin, N trigger this event oncellchangeIE5 when the data completes the transfer from the data source to the object, N ondataavailableIE4 when the data source changes, N triggers event ondatasetchangedIE4 when data reception is completed, event ondatasetcompleteIE4 that N data triggers when the data source changes, N triggers this event onerrorupdateIE4 when all valid data from the sub-data source is read, N when data transfer is cancelled using onBeforeUpdate event trigger Instead of the onAfterUpdate event onrowenterIE5, the event onrowexitIE5 triggered when the data of the current data source changes and there is new valid data, the event onrowsdeleteIE5 triggered when the data of the current data source is about to change, the event onrowsinsertedIE5 is triggered when the current data record is to be deleted, the event external event onafterprintIE5 is triggered when the current data source is about to insert a new data record, N the event onbeforeprintIE5 is triggered when the document is printed, N triggers this event onfilterchangeIE4 when the document is about to print, N event onhelpIE4 triggered when the filter effect of an object changes, N triggers this event onpropertychangeIE5 when the viewer presses F1 or browser help selection, N triggers this event onreadystatechangeIE4 when one of the properties of the object changes, N triggers this event when the initialization property value of the object changes. I believe that you have a deeper understanding of "what is the list of javascript events?" you might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report