Firefox back button on iPhone takes several clicks to get back to previous page
Hi,
I am making a website mobile ready and have this issue on the iPhone:
Page A provides a link to page B. The link is not a simple <a href ...> but is triggered by javascript.
Now when I am on page B, scroll around and then want to get back to page A by clicking the back button, I have to click the button multiple times (like 6 to 7 times) before I actually get back to Page A. All those extra clicks keep me on page B until finally I get back to Page A.
Does someone know how to fix this in the javascript code which triggers the link?
Thanks a lot.
Módosította: barcelona2,
Összes válasz (1)
Solved it by adding "history" to the js