onclick

Fires when the user clicks the left mouse button on the object

Parameters

ev

The mouse event.

MDN Reference