title: How to validate a form by ajax before submit in jQuery?
body: <p>I'm doing it this way:</p>
  
  <pre><code>...submit(function() {
      $.post(...,function() {
           validate();
      })
  });
  </code></pre>
  
  <p>But it turns out that the form is submitted directly...</p>