ajax(一)
$.ajax({
type: "post",
async: false,
url: "ReadStaffMange.aspx/AddReadStaff",
data: "{DocCode:\"" + $("#hideDocCode").val() + "\",DocNo:\"" + $("#hideDocNo").val() + "\",StaffNos:\"" + $("#txtStaffNo").val() + "\"}",
datatype: "json",
contentType: "application/json",
success: function (data) {
if (data.d == "1") {
location.reload();
}
else {
layer.alert(data.d);
}
}
});