<script>alert(‘成功!’);location.replace(‘test.php’);</script>
<script>alert(‘失败’);history.back(-1);</script>
JS 提示消息跳转和返回
0
<script>alert(‘成功!’);location.replace(‘test.php’);</script>
<script>alert(‘失败’);history.back(-1);</script>