S
Simon Wigzell
I'm using :
window.location.href = [newUrl]
to redirect to a web page. From the new webpage, when you click the browser
"Back" button you of course end up on the same old page and get redirected
immediately to the new page. Apart from double clicking really fast (!) or
putting in a delay with the old "Your browser will be redirect in 5
seconds...blah blah blah" is there some other way of handling this? e.g. if
the first page could be aware that it has been reached with a "Back" button
and then perform a "Back" of it's own, then I'd be happy. Any other way of
handling this situation? Thanks!
window.location.href = [newUrl]
to redirect to a web page. From the new webpage, when you click the browser
"Back" button you of course end up on the same old page and get redirected
immediately to the new page. Apart from double clicking really fast (!) or
putting in a delay with the old "Your browser will be redirect in 5
seconds...blah blah blah" is there some other way of handling this? e.g. if
the first page could be aware that it has been reached with a "Back" button
and then perform a "Back" of it's own, then I'd be happy. Any other way of
handling this situation? Thanks!