clicking a button in jquery code example
Example: on click jquery
$( "#target" ).click(function() {
alert( "Handler for .click() called." );
});
$( "#target" ).click(function() {
alert( "Handler for .click() called." );
});