I am developing a web application with CodeIgniter at the back-end and Backbone.js at the front-end. I also use the HTML5 Boilerplate as a starting template.
I use Backbone Controller and History as the main navigation for my application. I have done this once in the past, and everything works fine. The problem is that when I start the hashchange event capture using Backbone.History.start () and click the example.com/#home link, changing the hash in the URL, the event fires, but after 2 seconds the hash is cleared of the url and the error javascript throws only in ie7.
I took a look at the source code and the hashchange event came up in IE7, creating an IFRAME that spans to check for a change in the hash value.
Someone had this weird mistake before and know how to solve it?
Dominic Mercier
source share