注册成功!密码已发送到手机!<\/div>",'info',function(){
applySubmit(result.appid);
ajaxLoadEnd();// --移除遮罩--
window.location.href = projectAllName+"/userReg/userRegister.jsp";
});
} else {
$("#term a").remove();
$.messager.defaults = { ok: "确定"};
$.messager.alert('提示信息',"
注册失败!请联系管理员<\/div>",'info',function(){
ajaxLoadEnd();// --移除遮罩--
window.location.href = projectAllName+"/userReg/userRegister.jsp";
});
}
},
error : function(result) {
$.messager.defaults = { ok: "确定"};
$.messager.alert('提示信息',"
系统错误,请联系管理员<\/div>");
ajaxLoadEnd();//--移除遮罩--
}
});
}
function SJ(){
intervalid = setInterval("fun()", 1000);
}
function fun() {
if (i == 0) {
window.location.href = "/UserReg/userReg/userRegister.jsp";
clearInterval(intervalid);
}
document.getElementById("mes").innerHTML = i;
i--;
}