Search This Blog

Friday, February 12, 2010

oncontextmenu Event

How to disable right mouse click on a browser window?

It can be resolved by the useage of oncontextmenu event in your html body tag, the usage is shown given below.

<body oncontextmenu="return false;">

1 comment:

  1. Please add some examples which will help to understand the oncontextmenu event much better.

    ReplyDelete