disable right click


/ Published in: jQuery
Save to your folder(s)

Thanks to Niraj Chauhan on Forrst for this


Copy this code and paste it in your HTML
  1. // place inside your docready
  2.  
  3. $(document).bind("contextmenu",function(e){
  4. return false;
  5. });

URL: http://forrst.com/posts/Disable_right_click_using_jquery-2La

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.