title: Loggoff script for phonegap
body: <p>I have a phonegap app built using html5, css3 and jquery. I am trying for a function where user clicks on a logou button and it takes to a login screen but with clear fields. I mean When I just use the change page command and redirect it to login page, I stills ee the user name and password. I am simply using change page command: </p>
  
  <pre><code>function logoutbutton()
  </code></pre>
  
  <p>{</p>
  
  <pre><code>$.mobile.changePage("login.html");
  </code></pre>
  
  <p>}</p>
  
  <p>What I should do so that when it redirects to login page, it clears the password field?</p>