How to Disable Right Click Context Menu using JQuery


You want to disable right click context menu in browser, You can use following code.

$(document).bind("contextmenu", function(e) {
   return false;
});​

 

 

About author


User avatar

Waqas Anwar

Founder of EzzyLearning.com, Senior Consultant, Microsoft .NET and Web Technologies

Comments