Disable browser "Back" button

To avoid Back function in browser.
You have to write the javascript in body of the Html coding..
In body tag,you have to specify the current page name. Let us consider below pages a 'Dynamic.html',in this example we mention onunload we specified the javascript to locate the same page.
Save this html page as 'Dynamic.html' and find it how it works.

<html>
<head>
<title>Dyanmic Coding...</title>
</head>
<body onunload="javascript:window.location.replace('Dynamic.html')"> </body>
</html>
we can apply this approach in Transaction page.in other words Next to Login page.






No comments: