Disabling Right Click (context menu) with jQuery
There are a lot of examples of javascript code snippets to disable right click on web pages. However, jQuery makes it a lot easier:
$(document).ready(function()
{
$(document).bind(”contextmenu”,function(e){
return false;
});
});
This entry was posted
on Saturday, November 14th, 2009 at 1:05 am and is filed under Jquery, Web Development.
You can follow any responses to this entry through the RSS 2.0 feed.
You can skip to the end and leave a response. Pinging is currently not allowed.