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
I've been using path.js for my client side routing. I've found it to be quite succinct and lightweight (it's also been published to NPM too), and makes use of hash based navigation.
path.js NPM
path.js GitHub