jQuery Events Binding


We can catch html tag events to our jquery function.

Events are those function that pass the user interaction to the page.

Suppose a user click on a submit button. It fire the click event of the button and submit the form.

Example of jQuery events are as:

  • Click on button
  • Check some checkbox
  • KeyPress on an element ( textbox )

events table

jQuery Syntax For Events Methods


The jQuery provide same methods name for the events as the DOM have.

By jQuery we can fire an event or vice versa we can catch event in a function so there are two type of things as

  1. Catch an event
  2. Fire an event

jQuery example catch an event:

jQuery fire an event: