In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly shows you "what are the events that browsers can register". The content is easy to understand and clear. I hope it can help you solve your doubts. Let me lead you to study and learn the article "what are the events that browsers can register?"
Html event list
General events:
OnClick HTML: mouse click events, mostly mouse clicks within the control range of an object
OnDblClick HTML: mouse double-click event
OnMouseDown HTML: the button on the mouse was pressed
OnMouseUp HTML: the event that fires when the mouse is pressed and released
OnMouseOver HTML: the event triggered when the mouse moves over the scope of an object
OnMouseMove HTML: events triggered by mouse movement
OnMouseOut HTML: the event triggered when the mouse leaves the scope of an object
OnKeyPress HTML: an event that is triggered when a key on the keyboard is pressed and released. [note: there must be focused objects in the page]
OnKeyDown HTML: the event triggered when a key is pressed on the keyboard [Note: there must be focused objects in the page]
OnKeyUp HTML: the event triggered when a key on the keyboard is pressed and released [Note: there must be focused objects in the page]
Page related events:
OnAbort HTML: the picture is interrupted by the user when downloading
OnBeforeUnload HTML: the event triggered when the content of the current page is about to be changed
OnError HTML: catch errors on the current page for some reason, such as script errors and external data reference errors
OnLoad HTML: events triggered when empty completion in the page is transferred to the browser, including the completion of the introduction of external files
OnMove HTML: the event triggered when the browser's window is moved
OnResize HTML: the event that is triggered when the browser's window size is changed
OnScroll HTML: event triggered when the position of the browser's scroll bar changes
OnStop HTML: the event triggered when the browser's stop button is pressed or the file being downloaded is interrupted
OnUnload HTML: event triggered when the current page is about to be changed
Form-related events:
OnBlur HTML: event triggered when the current element loses focus [can be triggered by both mouse and keyboard]
OnChange HTML: events triggered when the current element loses focus and the content of the element changes [triggers of both mouse and keyboard]
OnFocus HTML: the event that is triggered when an element gains focus
OnReset HTML: the event that is triggered when the property of RESET in the form is fired
OnSubmit HTML: an event triggered when a form is submitted
Scroll subtitle event:
OnBounce HTML: events that are triggered when content within the Marquee is moved outside the scope of the Marquee display
OnFinish HTML: the event that is triggered when the Marquee element finishes what needs to be displayed
OnStart HTML: the event that is triggered when the Marquee element starts displaying content
Edit event:
OnBeforeCopy HTML: the event triggered when the current selection of the page is about to be copied to the clipboard of the viewer's system
OnBeforeCut HTML: the event triggered when some or all of the content on the page is moved away from the current page [clip] and moved to the viewer's system clipboard
OnBeforeEditFocus HTML: the current element is about to enter the editing state
OnBeforePaste HTML: the event triggered when the content is to be transferred [pasted] from the viewer's system clipboard to the page
OnBeforeUpdate HTML: notifies the target object when the viewer pastes the contents of the system clipboard
OnContextMenu HTML: the event triggered when the viewer presses the right mouse button to appear the menu or when the page menu is triggered by the keyboard button [try adding onContentMenu= "return false" in the page to disable the use of the right mouse button]
OnCopy HTML: the event triggered when the current selection of the page is copied
OnCut HTML: the event that is triggered when the current selection of the page is cut
OnDrag HTML: event triggered when an object is dragged [active event]
OnDragDrop HTML: an external object is dragged into the current window or frame by the mouse
OnDragEnd HTML: the event triggered when the mouse drag ends, that is, the mouse button is released
OnDragEnter HTML: the event that is triggered when an object dragged by the mouse enters its container
OnDragLeave HTML: the event that is triggered when the object dragged by the mouse leaves its container
OnDragOver HTML: event triggered when a dragged object is dragged within the scope of another object container [active event]
OnDragStart HTML: the event triggered when an object is about to be dragged
OnDrop HTML: the event triggered when the mouse button is released during a drag
OnLoseCapture HTML: the event that is triggered when an element loses the selection focus formed by mouse movement
OnPaste HTML: the event triggered when the content is pasted
OnSelect HTML: event when text content is selected
OnSelectStart HTML events triggered when text content selection will begin to occur
Data binding:
OnAfterUpdate HTML: the event that is triggered when the data is transferred from the data source to the object
OnCellChange HTML: when the data source changes
OnDataAvailable HTML: triggers an event when data reception is complete
OnDatasetChanged HTML: events that are triggered when the data source changes
OnDatasetComplete HTML: the event triggered when all the valid data from the child data source has been read
OnErrorUpdate HTML: replaces the onAfterUpdate event when the data transfer is canceled using the onBeforeUpdate event trigger
OnRowEnter HTML: events triggered when the data of the current data source changes and there is new valid data
OnRowExit HTML: the event triggered when the data of the current data source is about to change
OnRowsDelete HTML: event triggered when the current data record is to be deleted
OnRowsInserted HTML: event triggered when the current data source is about to insert a new data record
External events:
OnAfterPrint HTML: the event triggered when the document is printed
OnBeforePrint HTML: event triggered when a document is about to print
OnFilterChange HTML: the event triggered when the filter effect of an object changes
OnHelp HTML: the event triggered when the viewer presses F1 or the browser's help to select
OnPropertyChange HTML: the event that is triggered when one of the properties of an object changes
OnReadyStateChange HTML: the event that is triggered when the initialization property value of an object changes
The above is all the contents of the article "what are the events that browsers can register?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.