What is the simplest way to test if all of selected inputs are empty?
I get my inputs this way:
$myinputs = $('.inputstotest');
and would test single input with:
if ( $.trim($this.val()) == '' )
but how to test a group and return true if all are empty or false if any (at least one) is not empty?