JS: Not Empty
// Add content if element is not empty // sea @ http://goo.gl/HBxntf if ($.trim($(this).html()).length > 0) { // Do This }