How do you add a current class to a li with jquery?
<p>I have the following code:</p>

<pre><code> &lt;ul&gt;
    &lt;li class="tree"&gt;
    &lt;span&gt;&lt;a class="collapse" href="#"&gt;Collapse&lt;/a&gt;&lt;/span&gt;
    &lt;/li&gt;
    &lt;li class="tree"&gt;
&lt;span&gt;&lt;a class="expand" href="#"&gt;Expand&lt;/a&gt;&lt;/span&gt;
&lt;/li&gt;
    &lt;/ul&gt;
</code></pre>

<p>How can I add a class on the li to current when you click on the expand link and then take off the current when I click on the collapse in jquery?</p>
