jQuery History Plugin

HashRouter uses the excellent jQuery history plugin to receive notification from the url. No need to reinvent the wheel.

Just make sure to include the history plugin first, then HashRouter.

<script src="jquery-1.6.4.js" type="text/javascript"></script> <script src="jquery.history.js" type="text/javascript"></script> <script src="jquery.hashrouter.js" type="text/javascript"></script>