I want to disable right click in my web page, JavaScript's provide that, but i need to do that without using any scripting Language.
-
You can't. But why disable right click?marcelo2605– marcelo26052016-02-25 13:13:06 +00:00Commented Feb 25, 2016 at 13:13
-
Why can't you use a scripting language?The_Black_Smurf– The_Black_Smurf2016-02-25 13:14:44 +00:00Commented Feb 25, 2016 at 13:14
-
I'm trying some new features in HTML ...Madhan kumar BK– Madhan kumar BK2016-02-25 13:21:27 +00:00Commented Feb 25, 2016 at 13:21
-
If i use scripting Language, How can i do that? and which is best?Madhan kumar BK– Madhan kumar BK2016-02-25 13:22:07 +00:00Commented Feb 25, 2016 at 13:22
-
@MadhankumarBK Sorry. Without JS, you can't.marcelo2605– marcelo26052016-02-25 13:22:13 +00:00Commented Feb 25, 2016 at 13:22
|
Show 1 more comment
2 Answers
<body oncontextmenu="return false">
but actually it is javascript: http://www.w3schools.com/jsref/event_oncontextmenu.asp