title: Menu navigation with ajax
body: <p>i'm trying to make a website with some content loaded in the div <code>#main</code>, using ajax, but i do not manage to define a current class for the selected item in the menu.</p>
  
  <pre><code>    &lt;nav id="menu"&gt;
        &lt;ul&gt;
          &lt;li&gt;
            &lt;a href="pages/qui.php" 
               rel="address:/Qui" 
               title="Qui suis-je?" 
               class="qui ajax"&gt;
               Qui suis-je? &amp;nbsp;&amp;nbsp;
            &lt;/a&gt;
          &lt;/li&gt;
          &lt;li&gt;
            &lt;a href="pages/portfolio.php" 
               rel="address:/portfolio" 
               title="Portfolio" 
               class="portfolio ajax"&gt;
               Portfolio &amp;nbsp; &amp;nbsp;
            &lt;/a&gt; 
          &lt;/li&gt;
          &lt;li&gt;
            &lt;a href="pages/contact.php" 
               rel="address:/contact" 
               title="Contact" 
               class="contact ajax"&gt;
               Contact &amp;nbsp; &amp;nbsp;
            &lt;/a&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/nav&gt;
  </code></pre>
  
  <p>I'm using the asual jquery plugin to enable the user back button (maybe there is a way to use this plugin to define the current element clicked in the menu, in jquery) </p>
  
  <p>So...i'm not good at all in jquery so please if someone can help, it will be great. </p>