I have a concise list with two bullets.
Adding some Javascript enables the addition of a class to a bullet when it is clicked on.
The issue arises when the class is added to all existing list items, rather than just the one that was clicked on.
Check out the JSFiddle example here: http://jsfiddle.net/4sa8T/
Javascript:
$("#items li a").click(function(){
$("#items li").addClass("newClass");
});
html:
<div id="content">
<ul id="items">
<li><a href="#">Hello</a></li>
<li><a href="#">Bye</a></li>
</ul>
</div>