The following code using for web method.
Its working up tom IE 9, its not working in IE 10.
$.ajax({
type: "POST",
url: urlPath + "CreateSalesInvoice.aspx/CreateSalesInvoiceOrder",
data: "{'salesInvoiceItems':" + JSON.stringify(finalSalesInvoice) + "}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (data) { alert("OK = " + data.eric); },
error: function (data, status) { alert("FAILED:" + status); }
});
Please help on this issue.
Its working up tom IE 9, its not working in IE 10.
$.ajax({
type: "POST",
url: urlPath + "CreateSalesInvoice.aspx/CreateSalesInvoiceOrder",
data: "{'salesInvoiceItems':" + JSON.stringify(finalSalesInvoice) + "}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (data) { alert("OK = " + data.eric); },
error: function (data, status) { alert("FAILED:" + status); }
});
Please help on this issue.