Disable Browser Back Button Functionality using JavaScript

Friday, August 28, 2009

Hi,Please find the code to disable browser back button,it can be helpfull during
online examination.

<script type = "text/javascript" >
function preventBack(){window.history.forward();}
setTimeout("preventBack()", 0);

Hope this post will help you,
if yes please put comment below of this page,
Rajesh Singh,
Asp.Net Developer
Indianic Infotech Ltd (India)

No comments :