title: Reset Form Javascript After 3 seconds
body: <pre><code>&lt; script &gt; $(function () {
      $('#contact-form').validate({
          submitHandler: function (form) {
              $(form).ajaxSubmit({
                  url: 'process.php',
                  success: function () {
                      $('#contact-form').append("&lt;p&gt;Thanks! Your request has been sent.&lt;/p&gt;");
                  }
              });
          }
      });
  }); &lt; /script&gt;
  
  &lt;!-- Form --&gt;
  &lt;div id="contact-form"&gt;&lt;form id="contact-form" action="process.php" method="post"&gt;
      &lt;div&gt;
          &lt;label&gt;
              &lt;span&gt;Name: (required)&lt;/span &gt; &lt; input type = "text"
          name = "name"
          placeholder = "Full Name"
          title = "Enter your name"
          class = "required" &gt; &lt; /label&gt;
      &lt;/div &gt; &lt; div &gt; &lt; label &gt; &lt; span &gt; Email: (required) &lt; /span&gt;
              &lt;input type="text" name="email" placeholder="Your Email" title="Enter your email" class="required"&gt;         
          &lt;/label &gt; &lt; /div&gt;
      &lt;div&gt;
          &lt;label&gt;
              &lt;span&gt;Telephone: (required)&lt;/span &gt; &lt; input type = "text"
          name = "phone"
          placeholder = "Your Telephone"
          title = "Enter your telephone"
          class = "required" &gt; &lt; /label&gt;
      &lt;/div &gt; &lt; div &gt; &lt; label &gt; &lt; span &gt; Website: (required) &lt; /span&gt;
              &lt;input type="text" name="website" placeholder="Your Website" title="Enter your website"&gt;            
          &lt;/label &gt; &lt; /div&gt;
      &lt;div&gt;
          &lt;label&gt;
              &lt;span&gt;Message: (required)&lt;/span &gt; &lt; textarea placeholder = "Include all the details you can"
          name = "message"
          type = "text"
          tabindex = "5"
          required &gt; &lt; /textarea&gt;
          &lt;/label &gt; &lt; /div&gt;
      &lt;div&gt;
          &lt;button name="submit" type="submit" id="contact-submit"&gt;Send Email&lt;/button &gt; &lt; /div&gt;
  &lt;/form &gt; &lt; /div&gt;
  &lt;!-- /Form-- &gt;
  
           &lt; /div&gt;
  &lt;/div &gt;
  
  &lt; script src = "jss/scripts.js" &gt; &lt; /script&gt;
  </code></pre>
  
  <p>I have this code i want to reset form after 3 seconds and make message from append "Thank! your request ... to reset him too after 3 second with form but without refreshing page. Were and how can i make that ?</p>