Hi
Many times we are comes to a situation for which we have to disable our browser default back button and don't allow user to go back
like in a online examination website we cant go backward
we are sharing a simple javascript for disabling Browser Back Button
Many times we are comes to a situation for which we have to disable our browser default back button and don't allow user to go back
like in a online examination website we cant go backward
we are sharing a simple javascript for disabling Browser Back Button
Just use a simple javascript that will force the webpage to go forward once the back button is being triggered.<body onUnload="noBack()"><script>function noBack(){window.history.forward(1);}</script>These code is compatible to all of the modern browser 
No comments:
Post a Comment
Please leave your comments and we will be reply you back ASAP
vikas agrawal