Disable Browser Back Button Using Javascript
<HTML>
<HEAD>
<TITLE>Disable Back Button in Browser </TITLE>
<script type="text/javascript">
function disableBackButton()
{
window.history.forward();
}
setTimeout("disableBackButton()", 0);
</script>
</HEAD>
<body onload="disableBackButton()">
<p>This page contains the code to avoid Back button.
</p>
<p>Click here to Goto <a href="noback.html">NoBack Page</a>
</p>
</BODY>
</HTML>
source : http://solopos.com, http://youtube.com, http://tutorial101.blogspot.com
0 Response to "[Web-development (jquery)] Disable Browser Back Button Using Javascript"
Post a Comment