Forum Moderators: open
I'd like to know what is the event that fires when a user clicks 'Back' on their browser to return to a different anchor on the same page?
To clarify, imagine this scenario:
1) User opens 'mypage.htm' (the 'load' event fires)
2) User clicks on a link internal to the page: 'mypage.htm#anchor1'.
Q1: Does an event fire here? Which one?
3) User clicks on another internal link, to 'mypage.htm#anchor2'.
4) User clicks 'back' button, to return to 'mypage.htm#anchor1'.
Q2: Does an event fire here? Which one?
5) User clicks 'back' button again, to return to 'mypage.htm'.
Q3: Does an event fire here? Which one?
The answers to all three questions may be identical - but I ask 3 times in case there is a difference.
I'm very grateful for any insight.
Thanks,
Premasagar.
I have reposted again [webmasterworld.com] to the HTML/Browsers forum. Thank you!