$.ajax({
async: true,
type: "POST",
url: "http://'localhost'/Health/appointment?DoctorName=" + u + "&Password=" + p + "&dbversion=1.3",
contentType: "application/json",
dataType: "jsonp",
success: function (msg) {
//alert("in success: " + JSON.stringify(msg) + " " + msg.flag + " " + msg.UserID + " " + msg.DoctorId);
window.location.href = 'option.html?UserID=' + msg.UserID + '&DoctorId=' + msg.DoctorId;
},error: function(response) {
alert("in Error");
}
});
问问题
60 次