Disable right click using jquery

To disable right click menu using jquery, the following code snippet can be used

[javascript]
$(document).ready(function(){
$(document).bind(“contextmenu”,function(e){
return false;
});
});
[/javascript]

Be sure to include Jquery before you write this code 🙂

Demo can be found here

Vivek

Leave a Reply

Your email address will not be published. Required fields are marked *