Disable right click with a message. Many time for the security reason we need to disable right click on the browser.
For that here is a code in Java script. It works well with IE and Netscape browsers. But it doesn't work with opera browser. So kindly take care while using the same code for opera.
Here the explanation of the code is we are passing the mouse events to the function rightclickhandler. Here it will validate. If it is right click it will return false. Also we need to disable the context menu here.