Disable Browser Back Button Using Javascript:
Just put this javascript on the html section to disable browser's back button.(avoid user going to previous page by clicking on back button of browser).
The scripts work all major browsers like IE,FF.Chrome
<script language="javascript" type="text/javascript">
noBack2();
function noBack2(){window.history.forward();}
window.onload=noBack2;
window.onpageshow=function(evt){if(evt.persisted)noBack2();}
window.onunload=function(){void(0);}
</script>
Disable Browser Back Button Using Javascript
Posted by Prince | 8:34:00 PM | JavaScript | 0 comments »
Subscribe to:
Post Comments (Atom)
0 comments
Post a Comment