Disable Right Click on Web Page using jQuery

Posted by Self-Innovator under jQuery category on | Points: 40 | Views : 1257
The Below code demonstrates to disable a right click on a Web Page using jQuery.

Jquery script
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js">
<script type="text/javascript" language="javascript">
$(function() {
$(this).bind("contextmenu", function() {
return false

Page Design
<form id="form1" runat="server">
Just try right clicking on a page

Comments or Responses

Login to post response