Jquery

jQuery Intro

jQuery Intro Quiz

jQuery Intro Exercise

jQuery Basic

jQuery Basic Quiz

jQuery Basic Exercise

jQuery Advance

jQuery Advance Quiz

jQuery Advance Exercise

jQuery Selectors

jQuery Effects

jQuery Events

jQuery Methods and Properties

jQuery Traversing

jQuery CSS and HTML Methods

jQuery click() Method

jQuery click() Method

 

 

The click event is used to occur when an element is clicked. The click() method is used to trigger the click event. We can attach a function to it when a click event occurs.

 

Syntax:-

 

Its syntax is:- $(selector).click(function)

 

Further Explanation:-

 

Parameter Description
function Optional. Specifies the function to run when the click event occurs

Code Explanation

All Tutorials related to jQuery Events

All Sections related to Jquery