Firefox back issue
Posted
by wikiz
on Stack Overflow
See other posts from Stack Overflow
or by wikiz
Published on 2010-06-17T09:17:35Z
Indexed on
2010/06/17
9:23 UTC
Read the original article
Hit count: 127
JavaScript
|firefox
Hello,
I am using a menu that switches from standard state to select state for an item by reading the current url
var where = document.location.href;
My issue is that when using Firefox, if I switch to some items from the menu (for instance, I click home, donwload, contact) and press the back button the url is not read correctly so 2 items remain on the selected state. This only happens in Firefox (I've tested already in Explorer, Chrome and Opera)
So what I'm trying to ask: is there a way to handle the so called back button action in/for Firefox so I can fix my menu issue ?
© Stack Overflow or respective owner