In the fiddle example below, I need to have an addClass and removeClass for active and non-active elements in the navigation (#menu li). I tried a few combination but it keeps adding the ‘current’ class to all the menu li’s instead of the one that is clicked.
Anyone got an idea?
I am not sure If this is what you want, Try below and let me know..
DEMO here