How to select all descendants of a div
I'm very new at jQuery and I am trying to write a selector that returns a div with a particular id and all its descendants. What I have is
$('.boxBody > div:eq(' + $('#tabMenu > li').index(this) + ')').contents().andSelf().slideDown('1500');
The problem is that the slideDown sets style="display:block" for the div, but not for any divs that may be nested below it. What should I change to get the right behavior?
Thanks!!