jQuery events are the actions that can be detected by your web application. They are used to create dynamic web pages. An event shows the exact moment when something happens.
These are some examples of events.
These events can be categorized on the basis their types:
Most of the DOM events have an equivalent jQuery method. To assign a click events to all paragraph on a page, do this:
$("p").click ();
The next step defines what should happen when the event fires. You must pass a function to the event.
$("p").click(function(){ // action goes here!! });