I need to remove all empty td cells, can I do this with jQuery.
<td></td> if(td == empty){ $("td").remove(); }
I'm not sure how to write what I'm trying to do.
This is the path: {pseudo class empty}
$("td:empty").remove();
To remove all empty td
$('td').each(function() { if ($(this).html() == '') { $(this).remove(); } }
You can use .each()
.each()
$("td").each(function() { if ($(this).html() == "") { $(this).remove(); } }