How to execute code everytime url changes

Posted by omgkurtnilsen on Stack Overflow See other posts from Stack Overflow or by omgkurtnilsen
Published on 2010-05-29T12:00:05Z Indexed on 2010/05/29 12:02 UTC
Read the original article Hit count: 154

Filed under:
|

I'm making an ajax site. How would I go about executing some javascript every time the url changes. Say when "/#page/aboutus/" changes to "/#page/news/".

I want users to be able to bookmark ajax-pages.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery