jQuery - remove a class based on the elements ID
<p>I am trying to remove a .hideme class from  list which has a certain ID - the click event is in another  list. Depending on which UL.tab you click, the corresponding ul.lineup class .hideme is show or removed. HTML looks like this:</p>

<pre><code>    &lt;ul class="tab"&gt;
        &lt;li id="0"&gt;
            &lt;a href="#"&gt;26/08/2011&lt;/a&gt;
        &lt;/li&gt;
        &lt;li id="1"&gt;
            &lt;a href="#"&gt;27/08/2011&lt;/a&gt;
        &lt;/li&gt;
        &lt;li id="2"&gt;
            &lt;a href="#"&gt;28/08/2011&lt;/a&gt;
        &lt;/li&gt;
    &lt;/ul&gt;

    &lt;ul id="0" class="lineup hideme"&gt;
       &lt;li&gt;...&lt;/li&gt;
    &lt;/ul&gt;

    &lt;ul id="1" class="lineup hideme"&gt;
       &lt;li&gt;...&lt;/li&gt;
    &lt;/ul&gt;

    &lt;ul id="3" class="lineup hideme"&gt;
       &lt;li&gt;...&lt;/li&gt;
    &lt;/ul&gt;
</code></pre>
