I\'m trying to hide a parent div (i.e., #post) if the child div (i.e., .post-title) doesn\'t contain an tag. Any insight in how to accomplish this correct
Firstly: dont use IDs mulitple times. Every ID should be unique :)
Secondly: $('.post').not( ':has(".post-title a")' ).addClass('hide')
$('.post').not( ':has(".post-title a")' ).addClass('hide')