#jquery #click() .click() .click() is a property that allows you to perform certain actions when you click on the selected element. grammar .click( handler ) For example, if you want a function to run when a button element is clicked, do the following: $( 'button' ).click( function() { // function } ); example Click on a paragraph to see its borders. Click again to remove the border. Lorem ipsum..