jquery get button click event code example
Example 1: jquery click function
$( "#target" ).click(function() {
alert( "Handler for .click() called." );
});
Example 2: jquery on click get element
$(document).on("click",".appDetails", function () {
var clickedBtnID = $(this).attr('id'); // or var clickedBtnID = this.id
alert('you clicked on button #' + clickedBtnID);
});