title: jQuery validation , submit handler, and submit form
body: <p>I am having some problems on executing the following code.</p>
  
  <ol>
  <li><p>The code submits but it doesnt do anything, it comes back to the same screen, it seems that the values of the form have been not submited.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(document).ready(function(){
      $("#signin_form").validate({
            debug: false,
            rules: {
             ///
             },
             messages: {
             ///
             },
            submitHandler: function(form) { 
                var result;
  
          $.post('test.php', $('#signin_form').serialize(),    function(data){
              result = $.parseJSON(data);
  
              if (result.flag == 'false'){
                  $('#results').show()
              }
          })
          .success(function(data){
              if (result.flag == 'true'){
                  form.submit();
              }
  
          }, 'json');
  
         }
     });
  });
  &lt;/script&gt;
  </code></pre></li>
  <li><p>If I change the code to the following, it works and it takes me to the proper screen, but i need to validate, a captcha code, i am not sure if it is the right place to do it, i tried to use beforeSubmit but then the captcha is not validated.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(document).ready(function(){
      $("#signin_form").validate({
            debug: false,
            rules: {
             ///
             },
             messages: {
             ///
             },
            submitHandler: function(form) { 
                form.submit();
  
  
         }
     });
  });
  &lt;/script&gt;
  </code></pre></li>
  </ol>
  
  <p>There is something about the $.post that i dont underestand... and doesnt submit the information.</p>
  
  <p>Does anyone know what it could be?
  thanks!</p>