How do you obtain the clicked mouse button using jQuery?
$(\'div\').bind(\'click\', function(){ alert(\'clicked\'); });
this is trigger
$("body").on({ click: function(){alert("left click");}, contextmenu: function(){alert("right click");} });