title: Selecting all empty text fields in Jquery
body: <p>How can I find all text fields that have an empty value?</p>
  
  <pre><code>$(":text[value='']")  
  </code></pre>
  
  <p>gives a JavaScript error</p>
  
  <p>I know I can do <code>$(":text")</code>, iterate through and return all fields with <code>$(this).val()==''</code></p>
  
  <p>I am looking for a cleaner method and using JQuery 1.3.1
  It has to work if the element originally had a value when the page was loaded, and then the user cleared it.  (<code>$("#elem").attr('value')</code> gives the original value in that place, though .val() works properly)</p>