Skip to content
Robbie Chipka edited this page Dec 23, 2015 · 1 revision

The :empty selector filters all empty nodes.

Usage

document.querySelectorAll('div'); // get all empty divs
Clone this wiki locally