ajax alert成功后继续执行方法

$("#form1").ajaxSubmit({
async: false,
type:"post",
url:"${ctx}/privilage/modifyPassword.do",
dataType:"json",
success: function (data) {
var d = data.responseText;
alert(d);
window.location.href="${ctx}/auth/logout.do";
},
error:function (data) {
var d = data.responseText;
alert(d);
}
});
}

第1个回答  2015-07-23
alert()之后,继续执行下面的方法,不对吗?
相似回答