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
jQuery has a lot of pseudo selectors built in: http://api.jquery.com/category/selectors/jquery-selector-extensions/
You can also build your own with the filter() function: http://api.jquery.com/filter/
filter()
$('input.tb').filter(function() { return this.value.length == 0});