Monday, 18 April 2016

JQuery Events Methods

Like a programming language, a JQuery also has some events. JQuery event occurs on a web page when a user takes some actions like the mouse click, mouse scroll, check box selection etc.



Below are some events.

Mouse Events
Keyboard Events
Window Events
Form Events
Click
Key press
Load
Submit
Double Click
Key down
Scroll
Blur
Mouse Enter
Keyup
Resize
Focus


Unload



$(document).ready(function() {
alert("Document Ready Event");
});

$(window).load(function() {
alert("window load event");
});

JQuery Syntax for  Click Event

$("p").click(function()
{
//write code here
});



No comments:

Post a Comment

Dear Readers, Please post your valuable feedback in the comment section if you like this blog or if you have any suggestions. I would love to hear the same from you. Thanks