I am using Ajax and hash for navigation.
Is there a way to check if the window.location.hash changed like this?
window.location.hash
http://example.com/blah
HTML5 specifies a hashchange event. This event is now supported by all modern browsers. Support was added in the following browser versions: