how to hide parent div when the child div has “display:none” using jQuery

if($('child div').css('display') == 'none') {
$('parent div').hide();
}

Advertisements