Enable href navigation after JQuery addclass
<p>I need to use jQuery's <code>addClass</code> to change the selected anchor tag's style. It is working fine. But after changing the style I want to navigate to a link specified in the <code>href</code>. This is not working since I am using <code>return false;</code> or <code>e.preventDefault()</code>.</p>

<p>Please help me.</p>

<p>The code which I am using is:</p>

<pre><code>$("li").click(function (e) {
    e.preventDefault();
    $("li").removeClass("active");
    $(this).addClass("active");
});

&lt;div id="navigation" class="right"&gt;
    &lt;ul&gt;
        &lt;li id="nav1"&gt;&lt;a href="../WebForm1.aspx"&gt;&lt;span&gt;Home&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
        &lt;li id="nav2"&gt;&lt;a href="../AboutUs.aspx"&gt;&lt;span&gt;About Us&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
&lt;/div&gt;
</code></pre>

<p>Here the style is applied after clicking the Home link but I want it to navigate to <code>webform1.aspx</code> after this.</p>
