JavaScript: Basic Handling Events

Source: Internet
Author: User

JavaScript Event Reference Manual:
This event occurs when the following conditions occur
onabort image load is interrupted
onblur element loses focus
onchange User changes the contents of a domain
onclick Mouse click on an object
ondblclick Mouse Double-click an object
onerror An error occurred while loading a document or image
onfocus Element gets focus
onkeydown Key of a keyboard is pressed
onkeypress The key of a keyboard is pressed or held down
onkeyup Key of a keyboard is released
onload a page or image is finished loading
onmousedown A mouse button is pressed
onmousemove Mouse is moved
onmouseout mouse away from an element
onmouseover Mouse is moved to an element
onmouseup a mouse button is released
onreset reset button is clicked
onresize diagram or frame is resized
onselect Text is selected
onsubmit submit button is clicked
onunload User Exit page click

Specific reference links: http://www.w3school.com.cn/jsref/jsref_events.asp

JavaScript: Basic Handling Events

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.