function mimachongzhi(){ajax
var contextPath = $("#contextPath").val();async
var id=$("#id_reset").val();url
var hiddenpwd=$("#hiddenpwd").val();spa
$.ajax({it
type : "POST",io
url : contextPath+'userLogin!updateUserPasswords',function
data : {"id":id,"passwd":$("#passwd_reset").val(),"hiddenpwd":hiddenpwd},登錄
async :false,date
dataType : "text",密碼
success : function(data) {
if(data == "success") {
$("#passwd_window").window('close');
$.messager.alert('操做結果','密碼重置成功!');
}else if(data == "shibai"){
$.messager.alert('操做結果','上次登陸密碼不能和如今相同!');
}
}
});
}