Following is the code to find empty elements from the webpage:
JQuery code:
$('*').each(function(){ if($(this).text() == ""){ //Empty Element found..! } });
Following is the code to find empty elements from the webpage:
$('*').each(function(){ if($(this).text() == ""){ //Empty Element found..! } });