Popstate event not firing when pressing Back/Forward button in IE8-IE9
Closed this issue · 8 comments
Well, problem is described in title. I'm using .on() method. In Chrome with and without library all works OK. But in IE it's not triggering. Is threre some nicety may be?
Hi,
jQuery version is?
Thanks!
I'm using jQuery 1.11.1. I've change event attaching to native attachEvent method, and it works. Looks like problem with jQuery. Code is simple, I don't know where I might wrong.
$(window).on('popstate', function(){ /* some code */ });
My test works fine http://devote.github.io/tests/history/popstate.html in IE11 with emulate IE8-9. Maybe I need to look for a machine with a built-in version of the browser IE8-9. I'll let you know when I find IE8-9 native
I run my test using IE8 and IE9. Everything works fine!
I found that different builds/veriosn of IE8 behave different. Some version have bug, that is not in another version. I will check your lib in other build in next week.
Ok. Please close this issue if your problem is successfuly resolved. Thanks!
Please reopen it or create new issue if you needed. Thanks!