Added id/class removed on update
<p>Im trying to add a simple class/id on my <code>&lt;li&gt;</code> element which is in my menu, by using jquery.</p>

<p>However, when I click on a menu-option my class/id is added by jquery successfully but my site of course is gonna update because it redirects to the choicen site.</p>

<p>The result I end up with is that my class/id is removed because of this update..</p>

<p>How can I bypass this so my class/id stays on the selected menu <code>&lt;li&gt;</code> element.</p>

<p>My code looks like this:  </p>

<pre><code> $(document).ready(function()  
 {  
    $('li').click(function()  
    {  
       $(this).addClass('selected');  
    });  
 });
</code></pre>

<p>This is the site: <a href="http://insatsplutonen.xedge.nu/" rel="nofollow">http://insatsplutonen.xedge.nu/</a> 
Click yourself thru the menu-options. If you click on ex: Blogg the class 'selected will be added on the <code>&lt;li&gt;</code> element but will disappear because of page-load...</p>

<p>Thing is i want selected menu-option to turn white and others stay gray :)  </p>

<p>Kind regards /Haris</p>
