I'm looking create a piece of jQuery logic that answers:
Are there any tables cells that don't contain '' or 'xx' and don't have the class 'yy'
This is my effort - but it seems really messy?:
$('td').filter(function(index) {
return !$(this).hasClass('yy') &&
!($(this).html().trim() == '' || $(this).html().trim() == '');
})