jquery and button clicks Javascript code example
Example: jquery click function
$( "#target" ).click(function() {
alert( "Handler for .click() called." );
});
$( "#target" ).click(function() {
alert( "Handler for .click() called." );
});