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