title: Select all inputs using value attribute
body: <p>I want to select all inputs (textbox) in my form which have required class and have no value. So I am using:</p>
  
  <pre><code>$('input[value=""]', '.required')
  </code></pre>
  
  <p>My problem is even when the user enters a value in the textbox, the val() returns that value, but value is still empty and so my above jquery still selects all the inputs which were previously empty, which it should not. How do i select all inputs whose val is empty?</p>