Skip to content Skip to sidebar Skip to footer

Change Location.hash And Then Press Back Button - Ie Behaves Differently From Other Browsers

I change location.hash - in all browsers this behave properly - the page remains original and changes only URL without reload the page. Pressing Back button behaves differently in

Solution 1:

(Moving my comment here and expanding on it a little.)

There are severalotherquestions regarding the #hashtag history quirks with IE.

Essentially, IE doesn't treat different #hashtags as separate entries in its History object.

The best solution appears to be the jQuery History Plugin.

Note- jquery history is no longer maintained and the former maintainers recommend Jquery hashchange

Post a Comment for "Change Location.hash And Then Press Back Button - Ie Behaves Differently From Other Browsers"