disbable back option by java script

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


Please Help Members By Posting Answers For Below Questions

why we calld java object orinted programming language??

1520


What is the Infinity property used for in Javascript?

542


Is a relation always a function?

488


what will happen and why if i will acess the methods of superclass which is declared as private by a object of same subclass.

1565


Difference between private, public and static variable?

535






What is the difference between let and var?

549


What is the data type of variables in javascript?

460


How much time it will take to learn javascript?

445


What is the use of isNaN function?

532


What are the difference between javascript and jquery?

488


Between JavaScript and an ASP script, which is faster?

557


How to create the namespace in javascript?

547


What is js full form?

505


Is it possible to do 301 redirects in javascript ?

472


How can the os of the client machine be detected?

486