function () {
jQuery.support.cors = true;
$.ajax({
type: "post",
url: "...",
data: {
},
xhrFields: {
withCredentials: true
},
success: function (result) {
alert(result.Msg);
},
error: function (err) {
console.log(err);
}
});