Javascript Event Description

Source: Internet
Author: User

Onblur: (used in form elements, when the element loses focus)
Onchange :( used in form elements, when something changes, it is executed)
Onclick: (execute when you click an element)
Ondblclick: (double-click an element)
Onfocus: (used in form elements, executed when the element gets Focus)
Onkeydown: (executed when a key is pressed)
Onkeypress: (executed when a button is pressed or released)
Onkeyup: (executed when a key is released)
Onload: (used in the body label and executed when loading the page)
Onmousedown: (executed when you press the mouse button)
Onmousemove: (execute when the mouse moves over the element)
Onmouseout: (executed when the mouse moves the element away)
Onmouseover: (executed when the cursor moves over the element)
Onmouseup: (executed when the mouse button is released)
Onreset: (used in form elements and executed when the form is reset)
Onselect: (used in form elements and executed when an element is selected)
Onsubmit: (used in form elements and executed when the form is submitted)
Onunload: (used in the body label and executed when the page is closed)

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.