This site uses cookies from Google to deliver its services, to personalize ads and to analyze traffic. Information about your use of this site is shared with Google. By using this site, you agree to its use of cookies. Learn More

[Web-development (jquery)] Disable Browser Back Button Using Javascript

Disable Browser Back Button Using JavascriptDisable 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

Contact

Name

Email *

Message *