.click()


.click( handler )Returns: jQueryversion deprecated: 3.3

Description: Bind an event handler to the "click" event, or trigger that event on an element.

This API is deprecated.

Instead of .click( handler ) or .click( eventData, handler ), use .on( "click", handler ) or .on( "click", eventData, handler ), respectively.

Instead of .click(), use .trigger( "click" ).