html:
CO <
Create a class for what you wish the active li tag to look like; and use the following:
li
$('li').click(function(){ $(this).addClass('active').siblings().removeClass('active'); });
This should affect only list items within the same ul tag.
ul