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.

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

No comments: