JQuery Ajax with back button
<p>How do I handle navigation with Jquery Ajax?</p>

<p>For eg. I have a home page. 2 ajax link that loads the content of either <code>page1</code> and <code>page2</code>.</p>

<p>I'd like the url to be: <code>localhost/page1</code> or <code>localhost/page2</code>. I know this is possible but I do not know the name of this feature.</p>

<p>Coded examples would be nice.</p>

<pre><code>&lt;div id="nav"&gt;
    &lt;a href="page1"&gt;Page 1&lt;/a&gt; | &lt;a href="page2"&gt;Page 2&lt;/a&gt;
&lt;/div&gt;
&lt;div id="Container"&gt;&lt;/div&gt;
</code></pre>
