I have an <div>
with several child's inside it which is removed one after another and I want to check when all elements inside are removed .
I tried checking with if($('#data').html()=="")
but its not working, probably because of white spaces and tab spaces.
Keeping track of each and every elements and checking can be done but I am sure it will be worse idea for this simple task so is there any easy way to do this ?