how to disable forward and backward buttons of browser using js??
Printable View
how to disable forward and backward buttons of browser using js??
<head>
<SCRIPT type="text/javascript">
window.history.forward();
function noBack() { window.history.forward(); }
</SCRIPT>
</head>
<body onload="noBack();" onpageshow="if (event.persisted) noBack();" onunload="">
Thanks for reply.
Its working,but after logged in I enter into index page which contains frameset ans frames.each frameset are loading differently when i'm clicking back button.
Please help me to solve issue
Thanks in advance
Raneesh
Click here
Hope this will help you