62,073
社区成员
发帖
与我相关
我的任务
分享
$.ajax({
url: "@Url.Action("Create")",
type: "Post",
data: $("form").serialize(),
dataType: "json",
success: function (data) {
if (data.type == 1) {
window.location.reload(); //post成功了,刷新
}
else {
alert('没成功,出错了');
}
}
});