jquery button click call api code example
Example: on click jqueyr
//Click for event to trigger
$( "#target" ).click(function() {
alert( "Handler for .click() called." );
});
//Click for event to trigger
$( "#target" ).click(function() {
alert( "Handler for .click() called." );
});