Event Types In jQuery


The following are cross platform and recommended event types which you can bind using JQuery −

Sr.No Event Type Description
1 blur Occurs when the element loses focus.
2 change Occurs when the element changes.
3 click Occurs when a mouse click.
4 dblclick Occurs when a mouse double-click.
5 error Occurs when there is an error in loading or unloading etc.
6 focus Occurs when the element gets focus.
7 keydown Occurs when key is pressed.
8 keypress Occurs when key is pressed and released.
9 keyup Occurs when key is released.
10 load Occurs when document is loaded.
11 mousedown Occurs when mouse button is pressed.
12 mouseenter Occurs when mouse enters in an element region.
13 mouseleave Occurs when mouse leaves an element region.
14 mousemove Occurs when mouse pointer moves.
15 mouseout Occurs when mouse pointer moves out of an element.
16 mouseover Occurs when mouse pointer moves over an element.
17 mouseup Occurs when mouse button is released.
18 resize Occurs when window is resized.
19 scroll Occurs when window is scrolled.
20 select Occurs when a text is selected.
21 submit Occurs when form is submitted.
22 unload Occurs when documents is unloaded.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s