Posted By

adambundy on 07/26/12


Tagged


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

adambundy
BrockSamsom
rygiel
lionminister


disable right click


 / Published in: jQuery
 

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

Thanks to Niraj Chauhan on Forrst for this

  1. // place inside your docready
  2.  
  3. $(document).bind("contextmenu",function(e){
  4. return false;
  5. });

Report this snippet  

You need to login to post a comment.