$('*').each(function() { if ($(this).text() == "") { //Do Something } });