jQuery: Removing/Adding Classes from links within li's?
<p>I'm using jquery to create tabs, which works fine by adding a class="current" to the li - which changes the background of the current tab...great...</p>

<p>I now need to use this code to instead add the class="current" to the  "a" tag within the li - instead of the li....it can add it fine, but, the trouble is it now doesn't remove it from the other li "a" that was highlighted... for example:</p>

<pre><code> jQuery(this).closest("li a").addClass("current").siblings().removeClass("current");
</code></pre>

<p>Html</p>

<pre><code>&lt;li id="slide_brand"&gt;&lt;a class="current" href="#tab1"&gt;Brands&lt;/a&gt;&lt;/li&gt;
&lt;li id="slide_sites"&gt;&lt;a href="#tab2"&gt;Sites&lt;/a&gt;&lt;/li&gt;
&lt;li id="slide_photo"&gt;&lt;a href="#tab3"&gt;Photos&lt;/a&gt;&lt;/li&gt;
</code></pre>

<p>Must be to do with the "siblings" part... but I don't know what to change it too! :(</p>

<p>Can someone help please?</p>

<p>Thank you.</p>
