title: jQuery ajax form still submitting twice
body: <p>I've tried all the options reported in the answers to <a href="https://stackoverflow.com/questions/20195483/jquery-ajax-form-submits-twice">this</a> question.
  I have this:</p>
  
  <pre><code>$('form').submit(function (e) {
          e.preventDefault();
          e.stopImmediatePropagation();
          if ($(this).valid()) { 
              var postingWindow = $("#postingDialogWindow").data("kendoWindow");
              postingWindow.title("Posting Client Request...");
              postingWindow.open();
  
              $.ajax({
                  url: this.action,
                  type: this.method,
                  data: $(this).serialize()
              })
              .success(function (result) {
                  if (result.success) {
                      window.alerts.info(result.message, true);
                      window.location.replace(result.redirecturl);
                  }
                  else {
                      window.alerts.error(result.error);
                  }
              })
              .fail(function (result) {
                  //window.alerts.error(result);
                  var result = $.parseJSON(result.responseText);
                  window.alerts.error(result.errorMessage);
              })
              .always(function (data) {
                  postingWindow.close();
              });
          }
          return false;
      });
  </code></pre>
  
  <p>But I STILL have the ajax form submitting twice.  Please help.  I'm at my wits end with this.</p>
  
  <p>EDIT: Added the html for the form:</p>
  
  <pre><code>@using (Html.BeginForm("Create", "ClientWarehouseRequest", FormMethod.Post, new { @class = "form-horizontal" }))
      {
      &lt;!--...whole lotta input fields here...--&gt;
  
   &lt;div class="buttons-wrap"&gt;
              &lt;input type="hidden" name="SubmitButtonValue" id="SubmitButtonValue" /&gt;
              &lt;input class="k-button" type="submit" value="Post" name="SubmitButton" /&gt;
              @Html.ActionLink("Cancel", "Index", controllerName: null, routeValues: null, htmlAttributes: new { @class = "k-button", style = "vertical-align: bottom;" })
              &lt;input class="k-button" type="submit" value="Save" name="SubmitButton" /&gt;
          &lt;/div&gt;
  
      }
  </code></pre>
  
  <p>EDIT 2:
  I've tried reworking the approach as explained in <a href="https://stackoverflow.com/questions/35568965/jquery-validate-not-being-honored-browser-submitting-form-instead">this</a> new question, but then I have the problem that the form is submitted by the browser and not ajax.</p>
  
  <p>Please help.  I'm not feeling like a much of a software craftsman anymore!</p>