In my app, I need to check if a div container is empty before appending certain text elements to it (the innerHTML is created and removed many time
container
empty