I have included History.js and this piece of code works when changing the URL:
History.Adapter.bind(window,'statechange',function(){ var State = History.getState(); alert(State.url) showPage(State.url); });
It works well in all browsers except IE7 (IE8 compatibility mode). I thought History.js would handle this.
Is it true that IE7 does not understand the onStateChange event? What window event can be used for this case?
source share