title: .Submit() in jquery not firing
body: <p>i am having a razor code as below</p>
  
  <pre><code>        @using (Html.BeginForm("OtherUpdateRequest", "Members", FormMethod.Post,
   new { name = "form1", id = "form1", enctype = "multipart/form-data" }))
       {
      .......
  &lt;input type="button" value="Update Members" name="update" id="update" class="btn btn-success"&gt;
  
      }
  </code></pre>
  
  <p>and in script area after some validation the form is getting submitted as below</p>
  
  <pre><code> $("#update").on('click', function () {
  ......
              if (error == 0)
              {
                  alert(error);
                  $("#errorDiv").hide();
                  $("#form1").submit();
              }
  });
  </code></pre>
  
  <p>it is alerting the value of <code>error</code>. SO it is getting inside the if condition but the form is not getting submitted.</p>
  
  <p>If i change the input code as below it will get submitted but i need some jquery validation so the submit can only done through jquery. Please let me know anything wrong I am doing.</p>
  
  <pre><code>    &lt;input type="Submit" value="Update Members" name="update" id="update" 
  class="btn btn-success"&gt;
  </code></pre>
  
  <p>Also if I place Submit() above the alert statement the alert also won't work..</p>
  
  <pre><code>$("#update").on('click', function () {
      ......
                  if (error == 0)
                  {
                      $("#form1").submit();
                      alert(error);
                      $("#errorDiv").hide();
  
                  }
      });
  </code></pre>