History option for back button a bit too light weight
I have a back button on the detail page that uses pretty basic history code to take the user back to the previous page, which worked well until i realised an issue.
Here is the code:
As I said it worked fine until I put an image swap over script in and basically the page refreshes very quickly to swap the images over, and then takes over the history, so on click of back, the user stays on the same page.
How do I get around this, where the history remembers the page it came from not the page after its refreshed.