Answer Posted / gayathiri p
This code is correct for disable Back Button
<html>
<body onkeydown="if (event.keyCode==8) {event.keyCode=0;
return event.keyCode }">
</body>
</html>
Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
How to remove the event listener?
Difference between window, document, and screen in Javascript?
What does polyfill mean?
Is javascript default scripting language?
Which built-in method returns the character at the specified index?
What is a callback url?
Which operator is used to assign a value to a variable?
How do I link an external javascript file to html?
What is the difference between innerhtml & innertext?
What is the best site to learn javascript?
What is the use of math object in javascript?
Why typeof null is object?
How to redirect a page to another page in javascript?
How do we add javascript onto a web page?
How to write a script for "select" lists using javascript