sivakrishna.m
Joined: 01 Jan 2008 Posts: 160 Location: Narsipatnam
|
Posted: Thu Sep 24, 2009 12:53 pm Post subject: How Can We Disable Back Button for Our Browsers |
|
|
To disable the "Back" Button for our Browsers, you have to place the below javascript code in our views.
<script type = "text/javascript" >
function disableBackButton()
{
window.history.forward();
}
setTimeout("disableBackButton()", 0);
</script>
By this code, we will clear the History for the Back Button.
Thank You,
Siva |
|