title: Need help with jquery validation plugin submitHandler redirect
body: <p>I am having problems using the jquery validation plugin's submitHandler.</p>
  
  <p>I am working within the confines of some code that I do not have access to change so I am trying to find some work arounds.</p>
  
  <p>This is what I would like to do...  After the form validates, when the user clicks the submit button, and it is successful redirect the page to a different page.</p>
  
  <p>If I were not using jquery, I'd use the location.replace method and that is what I tried to use, but it does not seem like the submitHandler is executing because I tried a simple alert('TEST'); and it did not work.</p>
  
  <pre><code>$(document).ready(function(){
    $("#myForm").validate({
      submitHandler: function(form){
        location.replace('http://www.google.com');
        form.submit();
        }
     });
  });
  </code></pre>
  
  <p>I tried this to test it out but it also did not work...</p>
  
  <pre><code>$(document).ready(function(){
    $("#myForm").validate({
      submitHandler: function(form){
        alert("TEST");
        form.submit();
        }
     });
  });
  </code></pre>
  
  <p>The form submits and sends the email as it is supposed to when all of the fields are valid and it does not send the email with the fields are not valid.  The only problem I have is handling the relocation of the page.</p>
  
  <p>Any help anyone can provide would be greatly appreciated!</p>