1.所有的js跳转都是通过setTimeout来实现延时跳转的:
setTimeout("window.location.href='/Login/Login'",3000);
2.php后台输出js跳转:
echo "alert('更改成功".$true.";更改失败".$false."');window.location.href='/index.php/Admin/Mall/MallList';";
更多专业前端知识,请上 【猿2048】www.mk2048.com