title: jQuery validation in IE
body: <p>I am using jQuery validation in an asp.net MVC application.
  I want to do something in form submission if validation was true.</p>
  
  <pre><code>$("#myform").submit(function(){
    alert("test");
  })
  </code></pre>
  
  <p>The problem is IE call <code>$("#myform").submit</code> before validation checking therefore <code>alert()</code> run if validation is true or if not. but other web browser such as firefox, opera, safari. chrome call  <code>$("#myform").submit</code> if validation was true.</p>