title: How can I refresh a form JQuery
body: <p>How can I refresh or reload a form using JQuery? </p>
  
  <p>I am filling my form using session values. Using Jquery Post I unset session, but then the values are already filled in the form.</p>
  
  <p>I am trying to reset all form values after un setting the session with the following code:</p>
  
  <pre><code>$('#form')[0].reset();   
  </code></pre>
  
  <p>Yet it is not working after the $post ajax call.</p>