I have Tabbed Navigation here: http://jsfiddle.net/EghAt/
When I click Tab 1 it outputs all my list items underneath this tab – Great!
However, if I click Tab 2 while Tab 1 is still outputting, it doesn’t close Tab 1 and instead keeps outputting from both.
I would like to close Tab 1 if Tab 2 is clicked and vice-versa.
How do I achieve this with my code?
Many thanks for any pointers.
Resolved: http://jsfiddle.net/BdHf2/2/