I'm making an menu and for that I use jquery to display data.
I want to make it more dynamic and for that I'm using the each() function
Here is an representative example of my code http://jsfiddle.net/4r5cLy00/
As you can see the on click displays all the listitems of the unordered list and that's not want i want. I want to get the clicked <li>
I hope someone have a simple solution for this?