I am trying to figure out if all the child divs of a containing div
are hidden and if so I then want to hide the parent containing div.

I am trying some thing like this:

$('div.location').filter(function(){
                return (($this>*:visible).length==0)
        }).hide();

Obviously this does not work and I am having a hard time figuring out
the correct syntax.

Any help would be greatly appreciated.

Reply via email to