Currently, I am in the process of creating a jQuery accordion by following the tutorial provided on css-tricks at this link. After making some modifications to the code, I was able to hide all the elements within the parent element. However, upon clicking, only the dd
tags are being revealed, while the ul
and h3
remain hidden. I suspect that the issue lies in either line 6 or 7 of the JavaScript section, but my understanding of JS/jQuery is not advanced enough to pinpoint the exact reason behind it. Any assistance or guidance on this matter would be highly appreciated.
For reference, here is an example: http://jsfiddle.net/undeE/