browser back button / #one #two etc
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1673359/making-browser-back-button-work-while-using-ajax-requests">Making Browser Back button work while using AJAX requests</a>  </p>
</blockquote>



<p>I want to write some jQuery that when the browser url changes (not refresh) it will do an action.</p>

<p>I will 100% know what the urls will be so they will be </p>

<ul>
<li>www.hello.com/#one</li>
<li>www.hello.com/#two</li>
<li>www.hello.com/#three</li>
</ul>

<p>I'm not too concerned about the action (I can sort that); it's more about detecting that the URL has changed when not refreshed.</p>

<p>Any pointers?</p>

<p>I don't want to use a plug-in as I feel they are overkill for what I need, as I know specifics of what I am trying to achieve.</p>
