Is there any easy way to check if any elements in a jquery selector fulfill a condition? For instance, to check if any textboxes in a form are empty (kind o
if ( $('input.tb[value=""]').length > 0 ) // there are empty elements