list don't get shown a second time
if i click on a <li>-Element, it's children should be displayed
This works fine but if i click on the back button and let me display the same Elements again, the code fails
(try
1 > back > 1 in the jsfiddle)
here's a jsfiddle with code i created
http://jsfiddle.net/m3A8g/2/ (i hope you see what i mean)
i don't have a cule what i'm doing wrong here
(perhaps there is even a more elegant way to deal with it than parent() and children())
thanks in advance,
Fiisch0r