Monday, 18 July 2011

Disable right-click

$(document).bind("contextmenu",function(e){
    //you can enter your code here, e.g a menu list
    //cancel the default context menu
    return false;
});
A context menu is a menu that contains commands specific to the object that the cursor is currently
pointing at – the “target object”. They are activated by the right click button

No comments:

Post a Comment