Click here to Skip to main content
14,926,139 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to disable back button mozilla and IE browser using javascript..plz rply soon...
Posted

1 solution

Try to use below code.

<script type="text/javascript" language="javascript">
    function noBack() 
    { 
         window.history.forward(); 
    }
</script>

Go through this article (disable back button) for more information.


Thanks
Naveen
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900