title: Set a timer in JS
body: <p>I'm trying to set a timeout before executing <code>form.submit()</code>but it doesn't work.</p>
  
  <pre><code>$("#form").validate({
      submitHandler: function(form) {
          $("#form").hide();
          $('#form-inscription').append('&lt;h2&gt;Text&lt;/h2&gt;');
          setTimout( function(){ form.submit() }, 10000 );
          //form.submit();
      }
  });
  </code></pre>