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.
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.