title: Jquery form submit in IE is not validating before submit
body: <p>The below jquery script iam using. But this is working in both firefox and chrome but not in IE.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $.validator.setDefaults({
  submitHandler: function() {
          //alert("submitted!");
          debug: false;
      form.submit();
      }
  });;
  &lt;/script&gt;
  &lt;script type="text/javascript"&gt;
  $(document).ready(function() {
                     $.validator.addMethod("mobilecheck", function(value, element) {
                          return this.optional(element) || /^[0-9]+$/i.test(value);
                      }, "mobile number  must contain only numbers");
                  $.validator.addMethod("namecheck", function(value, element) {
                          return this.optional(element) || /^[a-z\s]+$/i.test(value);
                      }, "User Name must contain only letters");
  
                      $("#myform").validate({
                                  rules: {
                                                  fullname:{ required : true , namecheck :true},
  
                                                  mobile:{ required : true, mobilecheck :true },
  
                                                  city: { required : true},
  
  
                                                  locality: { required : true},
  
                                                  email: {
                                                                  required: true,
                                                                  email: true
  
  
                                                  },
                                                  jobcity: { required : true} ,
                                                  hometown: { required : true} ,
  
                                  },
  
                                  messages: {
                                                  fullname:{
                                                                  required: "Please enter your fullname" ,
                                                                  namecheck: " Full Name must contain only alphabets&lt;br/&gt;"
                                                                  },
  
                                                  mobile: {
                                                                  required: "Please enter mobile number",
                                                                  mobilecheck: "Mobile number must contain only numbers "
  
                                                  },
  
                                                  city: "Please enter your current city" ,
                                                  jobcity:"please select city" ,
                                                  locality:"please enter locality where you are staying",
  
  
                                                  email: {
                                                  email:"Please enter a valid email address",
                                                  required:"please enter email address"
                                                  },
  
                                  },
  
                              errorElement: "div"
  
  
                  });
  
  
  });
  
  &lt;/script&gt;
  </code></pre>
  
  <p>My form code is </p>
  
  <pre><code>&lt;form id="myform" method="post" class="register" &gt;
      &lt;ul&gt;
      &lt;li&gt;
      &lt;label for="fullname"&gt;Full Name&lt;/label&gt;
  
  
  
      &lt;input id="fullname" name="fullname" class="required namecheck" size="20" style="width:180px"/&gt;
  
  
      &lt;/li&gt;
      &lt;li&gt;&lt;label for="email"&gt;Email&lt;/label&gt;
  
      &lt;input id="email" name="email" class="required email" size="20" style="width:180px" /&gt;
  
      &lt;/li&gt;
      &lt;li&gt;
      &lt;label for="mobile"&gt;Mobile&lt;/label&gt;
  
      &lt;input id="mobile" name="mobile" class ="required mobilecheck" size="20" style="width:180px" maxlength="10"/&gt;
      &lt;span id="msgbox" style="display:none"&gt;&lt;/span&gt;
  
  
      &lt;/li&gt;
      &lt;li&gt;
          &lt;label for="qualification"&gt;Qualification&lt;/label&gt;
  
          &lt;input id="qualification" name="qualification" class ="required " size="20" style="width:180px" maxlength="10"/&gt;
          &lt;span id="msgbox" style="display:none"&gt;&lt;/span&gt;
  
  
      &lt;/li&gt;
      &lt;li&gt;
      &lt;label for="hometown"&gt;Home Town&lt;/label&gt;
  
      &lt;input id="hometown" name="hometown"  class="required" size="20" style="width:180px"/&gt;
  
  
      &lt;/li&gt;
      &lt;li&gt;
      &lt;label for="city"&gt;Current City&lt;/label&gt;
  
      &lt;input id="city" name="city" size="20" class="required" style="width:180px"/&gt;
  
  
      &lt;/li&gt;
      &lt;li&gt;
      &lt;label for="locality"&gt;Locality/Neighborhood/Area&lt;/label&gt;
  
      &lt;input id="locality" name="locality" class="required" size="20" style="width:180px"/&gt;
  
  
      &lt;/li&gt;
  
      &lt;li&gt;
          &lt;label for="jobcity" &gt;Preferred Location for Interview&lt;/label&gt;
  
          &lt;select name="jobcity" id="jobcity" clas="required"&gt;
                                  &lt;option value=""&gt; -- please select-- &lt;/option&gt;
                                  &lt;option value="Bangalore"&gt; Bangalore&lt;/option&gt;
                                  &lt;option value="Chennai"&gt;Chennai&lt;/option&gt;
                                  &lt;option value="Gurgaon"&gt;Gurgaon/Noida/Delhi&lt;/option&gt;
                                  &lt;option value="Hyderabad"&gt; Hyderabad&lt;/option&gt;
                                  &lt;option value="Mumbai"&gt;Mumbai&lt;/option&gt;
                                  &lt;option value="Pune"&gt;Pune&lt;/option&gt;
  
          &lt;/select&gt;&lt;/br&gt;
  
  
      &lt;/li&gt;
  
  
      &lt;/ul&gt;
  
  
      &lt;div style="text-align:center;margin-top:5px;padding-bottom:10px"&gt;
          &lt;input name="hidden" type="hidden" value="hidden"/&gt;
      &lt;input class="blue1 button1" id="#submit" type="submit" value="Submit"/&gt;
  
      &lt;/div&gt;
  </code></pre>
  
  <p>When i submit form in IE, its not validating but submitting form. In chrome and IE .jquery is validating form before submitting.</p>
  
  <p>and i removed unwanted commas from code </p>