title: setTimeout in form.submit() method does not work
body: <p>I am trying <code>setTimeout()</code> function in form submit. However before executing the function the form gets submitted and anything inside the timeout function is not getting executed. Below is the code snippet.</p>
  
  <pre><code>$(window).load(function () {
       $("#myform").submit(function() {
            setTimeout(function(){
                 alert("me after 1000 mili seconds");
                 return false;              
            }, 1000);
  
      });
  };
  </code></pre>
  
  <p>Kindly help me on how to resolve this issue...</p>