jquery click event deprecated 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." );
});