click functionality in `` code example
Example 1: jquery onclick function
$( "#other" ).click(function() {
$( "#target" ).click();
});
Example 2: onclick event in jquery ajac
$('a').click(function(){
$.ajax({
type: "POST",
url: "mysimplepage.php",
async: true,
data: { logDownload: true, file: $(this).attr("name") }
});
return false;
});