$.ajax({
type: "post",
url: "/Admin/handle/User.ashx",
data: "UserID=<%=UserID %>&TransStatus=" + $("#txtTransStatus").val() + "&flag=addUser",
async: false,
success: function (data) {
if (data == "1") {
alert('保存成功!');
window.location.href = "/Admin/User/UserList.aspx";
} else {
alert('保存失败!');
}
}
});
type: "post",
url: "/Admin/handle/User.ashx",
data: "UserID=<%=UserID %>&TransStatus=" + $("#txtTransStatus").val() + "&flag=addUser",
async: false,
success: function (data) {
if (data == "1") {
alert('保存成功!');
window.location.href = "/Admin/User/UserList.aspx";
} else {
alert('保存失败!');
}
}
});