I’ve been trying to implement a history plugin called really simple history, and I think I’ve succeeded with that. So now I want to make my ajax to react when the history changes (you press the back or forward button.)
I think I should use the hash tag in the URL for this, but I’m very open for other suggestions.
Anyways how do I load my ajax when the hash tag changes without having reloading the page?
Use address jquery plugin and its
.change()functionality