title: Clear password text field in Jquery
body: <p>I want to clear the password text field each time the pop-up is shown. The pop-up contains the password field</p>
  
  <p>I'm using below function in jquery to reset:</p>
  
  <pre><code>function resetPopupFormErrors() {
      $("div.errors").closest("tr").remove();
       ....
  }
  </code></pre>
  
  <p>And I'm calling this function in fancybox on startup. How can I reset the password text in above function so that if the user has typed something in text field &amp; closed the pop-up &amp; then if user opens it again, I don't want that password to reappear....How can I do it using jquery in above function?</p>
  
  <p>EDIT: If I look at the html view source after typing the password, the value is empty for that password field. How can we clear something that's not appearing in value field?
  Thanks!</p>