Bind event to right mouse click
Posted
by zac
on Stack Overflow
See other posts from Stack Overflow
or by zac
Published on 2009-04-01T17:47:57Z
Indexed on
2010/05/05
3:28 UTC
Read the original article
Hit count: 176
How can I trigger some action with right click after disabling the browser context menu ?
I tried this . . .
$(document).ready(function(){
$(document).bind("contextmenu",function(e){
return false;
$('.alert').fadeToggle();
});
});
.alert {
visibility: hidden;
}
© Stack Overflow or respective owner