title: jQuery ajax call to asmx issues with functions
body: <p>I have a form that I am submitting using an ajax call to an asmx web service. The data successfully inserts into the database, however; neither the success or error function is being triggered. The first alert works. Any ideas?</p>
  
  <p>My jQuery:</p>
  
  <pre><code>        $("#AddSupplierBtn").click(function()
          {
  
              alert("This is the first alert");
              if ($("#AddSupplier").valid())
              {
                  $.ajax({
                      type: "POST",
                      url: "/StockPileDelivery.asmx/TestMethod",
                      data: JSON.stringify({
                          SupplierName: $('#SupplierName').val(),
                          SupplierType: $('#SupplierType').val(),
                          SupplierPremium: $('#SupplierPremium').val(),
                          SupplierLocation: $('#SupplierLocation').val()
                      }),
                      contentType: "application/json; charset=utf-8",
                      dataType: "json",
                      success: function (msg) {
                          alert("Working - " + msg.d);
                      },
                      error: function (xhr,status,error) {
                          var err = eval("(" + xhr.responseText + ")");
                          alert(err.Message);
                      },
                  });
              }
          });
  </code></pre>