Why does the following Toggle function perform four different operations instead of two?
- by marcamillion
You can see the implementation here: http://jsfiddle.net/BMWZd/8/
What I am trying to do, when you click on 'John Brown', you see the first element at top turn black. When you click it again, the border of the dotted circle disappears, then when you click 'John Brown' again, you see something else, then finally once again it all disappears.
What…