click

英[klɪk] 美[klɪk]

n. Click; claw, detent; [meter] (mouse) click; [ Linguistics] Inspiratory sound

vt. Make a clicking sound

vi. Make a clicking sound; extremely successful; get along well, hit it off at first sight; [plan] rat strike

jquery click() method syntax

Function:When an element is clicked, the click event will occur. A click occurs when the mouse pointer is over an element and the left mouse button is pressed and released. The click() method triggers a click event, or specifies a function to run when a click event occurs.

Trigger click event syntax:$(selector).click()

Bind the function to the click event syntax:$(selector) .click(function)

Parameters:

jquery click() method example

    

这是一个段落。

Run instance »

Click the "Run instance" button to view the online instance

About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!
##Parameter Description function Optional. Specifies a function to run when a click event occurs.