title: Is it possible to make trim in a selector?
body: <p>I'd like to count all the inputs in my form which are empty. With empty I mean that its value is empty after trimming its value (if the user insert whitespaces its empty as well).
  This jquery count them, but it doesn't include the trimming:</p>
  
  <pre><code>$(':text').filter('[value=""]').length
  </code></pre>
  
  <p>Has something jquery which can be used to trim in the selector?</p>
  
  <p>thanks</p>