jQuery: empty Selector
Definition and Usage
: Empty selector to select an empty element.
Empty element refers to the element that has no child elements or text.
grammar
$(":empty")
: Empty selector to select an empty element.
Empty element refers to the element that has no child elements or text.