Disabling Right Click on the page using JQuery.

Vishalneeraj-24503
Posted by Vishalneeraj-24503 under jQuery category on | Points: 40 | Views : 264
Write below code,we have a context menu as in windows application:-
<script type = "text/javascript" src = "Javascript/jquery-1.4.2.min.js"></script>
<script type = "text/javascript">
$(document).ready(function()
{
$(document).bind("contextmenu",function(e)
{
alert('Right click is disabled'); return false;
});
});
</script>

Comments or Responses

Login to post response