1.方法一:
<script language="javascript" type="text/javascript"> window.location.href="login.jsp?backurl="+window.location.href; </script>
2.方法二:
<script language="javascript"> alert("返回"); window.history.back(-1); </script>
3.方法三:
<script language="javascript"> window.navigate("top.jsp"); </script>
4.方法四:
<script language="JavaScript"> self.location=’top.htm’; </script>
以上有不对的地方请留言纠正,谢谢大家!
原文地址:https://www.cnblogs.com/jie888/p/10080682.html
时间: 2024-10-10 09:41:19