
I have a requirement like this,
I have to disable back button of all the browsers(It should support all the browsers). Can u plz help me.

Hi Suresh
Given below code in Java script will disable the working of Back button :
<SCRIPT type="text/javascript">
window.history.forward();
function noBack() { window.history.forward(); }
</SCRIPT>
</HEAD>
<BODY onload="noBack();"
onpageshow="if (event.persisted) noBack();" onunload="">

**Sometimes we have requirement in developing a website to disable the Back button effect from Browser. This is common in Online Banking Websites and other sites where security is of principal concern. User may hit back and navigate from the page and forget to logout. Following are few tricks that can be used to disable the back button in browser. Please note that we do not literally ââ?¬Å?disableââ?¬Â? the back button, but just nullify its effect is some case and hide it altogether in others.**
You will get the example with the code below.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.