I am using Ajax and hash for navigation.
Is there a way to check if the
window.location.hash changed like this?
It works if I check it when the document loads.
But if I have #hash based navigation it doesn't work when I press the back button on the browser (so I jump from blah#456 to blah#123).