Question

This site: http://jcorps.org/jsuite WORKS in Chrome, changing the content based on a HASH CHANGE, and IE9 seems to be handling the onHashChange, but...

IE9 doesn't execute the "UpdatePage()" function at all or produce an error message of any kind in IE's developer/debug console, so I cannot see where it's "breaking". Any thoughts?

Thanks! Ari

Was it helpful?

Solution

You do not have a doctype on your page, so IE9 renders it in quirks mode, which does not support the hashchange event. Adding a proper doctype will allow IE9 to render your page in the proper mode, enabling the hashchange event.

Also see this similar question: onhashchange with IE 9

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top