Posts by Serhiy • 156 points
1 post
-
4
votes5
answers2130
viewsA: How to add a class to a <li> by clicking on it, leaving only it with this class?
Here is the link to the full example: http://jsfiddle.net/2Mu2F/ Basically the following code does is: 1) When the document is loaded add event click to each read. 2) When clicked, remove from all…