Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

location.replace() and the back button

Status
Not open for further replies.

airmoti

MIS
Jan 28, 2004
6
US
Hi,
I have a Search Form which sends data to a detail form via location (not replace since I want to go back to search).
The user then changes data on the detail form and submits the changes. A Perl subroutine is called to update the changes and I then issue a location.replace() to reload the page with the changed data.

The problem is that the back button now takes you back to the first instance of the detail page and Not the search page. How can I change this scenario in order to have the Search page come up no matter how many times the detail has been changed?

search ==> detail(1) ==> detail(2)

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top