JQuery Event Method

Source: Internet
Author: User

Method Description
Bind () Attaching one or more event handlers to a matching element
Blur () Blur event that triggers, or binds a function to a specified element
Change () The change event that triggers, or binds a function to a specified element
Click () The Click event that triggers, or binds a function to a specified element
DblClick () Double click event that triggers, or binds a function to a specified element
Delegate () Attach one or more event handlers to the current or future child elements of a matching element
Die () Removes all event handlers added through the live () function.
Error () The error event that triggers, or binds a function to a specified element
Event.isdefaultprevented () Returns whether Event.preventdefault () is called on the event object.
Event.pagex The mouse position relative to the left edge of the document.
Event.pagey The position of the mouse relative to the top edge of the document.
Event.preventdefault () The default action for blocking events.
Event.result Contains the last value returned by the event handler that is triggered by the specified event.
Event.target The DOM element that triggered the event.
Event.timestamp This property returns the number of milliseconds from January 1, 1970 to the time the event occurred.
Event.type Describes the type of event.
Event.which Indicates which key or button was pressed.
Focus () A focus event that triggers, or binds a function to a specified element
KeyDown () A key down event that triggers, or binds a function to a specified element
KeyPress () Key press event that triggers, or binds a function to a specified element
KeyUp () A key up event that triggers, or binds a function to a specified element
Live () Add one or more event handlers for current or future matching elements
Load () The load event that triggers, or binds a function to a specified element
MouseDown () Mouse down event that triggers, or binds a function to a specified element
MouseEnter () Mouse Enter event that triggers, or binds a function to a specified element
MouseLeave () Mouse leave event that triggers, or binds a function to a specified element
MouseMove () Mouse move event that triggers, or binds a function to a specified element
Mouseout () Mouse out event that triggers, or binds a function to a specified element
MouseOver () Mouse over event that triggers, or binds a function to a specified element
MouseUp () Mouse up event that triggers, or binds a function to a specified element
One () Adds an event handler to the matching element. The processor can only be triggered once per element.
Ready () Document-Ready events (when the HTML document is ready to be available)
Resize () Resize event that triggers, or binds a function to a specified element
Scroll () Scroll event that triggers, or binds a function to a specified element
Select () A select event that triggers, or binds a function to a specified element
Submit () A submit event that triggers, or binds a function to a specified element
Toggle () Binds two or more event handler functions that are executed when a rotating click event occurs.
Trigger () Specified events for all matching elements
Triggerhandler () The first specified event that is matched to an element
Unbind () Removes an added event handler from the matching element
Undelegate () Removes an added event handler from the matching element, now or in the future
Unload () Unload event that triggers, or binds a function to a specified element

JQuery Event Method

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.