wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes back button on the browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "back button on the browser" Watch "back button on the browser" New topic
Author

back button on the browser

andy nan
Greenhorn

Joined: Aug 28, 2003
Posts: 3
I would like to know ,by any means is it possible to disallow the user to go to the parent page by clicking on the back button on the browser by Just using HTML and JavaScript
Please help
Andy
sunitha reghu
Ranch Hand

Joined: Dec 12, 2002
Posts: 937
Using js u can disable but users can always rt click mouse and can select the back. So in a broad sense its not practical
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Here is a link, I do not recommend you use this since it is not relaible and not user friendly.
http://www10.brinkster.com/A1ien51/basics/backbutton.htm
You can also look into document.location.href.replace = "yourlink.htm"
Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: back button on the browser
 
Similar Threads
Retain the combo box value when the page is revisited
Disable Back button
how to diable browser back button
Timing out the Session on Clicking The Browser Back Button
Log Out Problem