I met a problem while trying to check if p in div is empty. These spans are being removed by users clicking on them and I want to alert something w
p
div