.click() Event

Syntax

.click()

Description

.click function is used to trigger or bind a function to the mouse click event of the selected element. The below example show you how to hide an element using Jquery .click() event.

Example Code

Result:


Hi, Welcome to Hscripts.



Ask Questions

Ask Question