[eluser]stuffradio[/eluser]
Hi,
I am using AJAX for clicking on "tabs". When the tab is clicked on, how do I change the class of the item? When an item is active, the class of the list item is on.
Example:
Code:
<li id="item1" class="on">Item 1</li>
<li id="item2">Item 2</li>
<li id="item3">Item 3</li>
So how do I take the class off the previously on item, and change the one that was clicked? Any ideas?