How to Disable right click using jQuery

Method 1 You can find many java script code snippets to disable right click. But jQuery makes our life easy. Below jQuery code disables the right click of mouse. $(document).ready(function(){ $(document).bind("contextmenu",function(e){ return false; }); }); We just need to bind the contextmenu event with the document element. Method 2 $(document).ready(function(){ $(document).bind("contextmenu",function(e){ [...]