Searching for opposite of :filled with jQuery

I need to find all fields with nothing but whitespace in them.

What's the jQuery syntax for that?

Thanks.
newbiewebSr. Software EngineerAsked:
Who is Participating?
 
hosneylkCommented:
$(':text').filter(function ()
{
    return $.trim($(this).val()).length === 0;
})
0
 
newbiewebSr. Software EngineerAuthor Commented:
Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.