js check if div is empty
snippet in php

js check if div is empty

user2024

if ($('#element').is(':empty')){
  //do something
}