<a href="网页特效:history.go(-1)">返回上一步</a> <br/>
<a href="<%=Request.ServerVariables("HTTP_REFERER")%>">返回上一步</a><br/>
第一种:
<script language="javascript" type="text/javascript">
window.location.href="login.jsp教程?backurl="+window.location.href;
</script>
第二种:
<script language="javascript">
alert("返回");
window.history.back(-1);
</script>
第三种:
<script language="javascript">
window.navigate("top.jsp");
</script>
第四种:
<script>window.location.href='http://www.111cn.net';</script> <br/>
第五种:
<script language="javascript">
alert("非法访问!");
top.location='xx.jsp';
</script>
打开新窗口
<a href="/javascript:" onClick="window.open(,'','height=500,width=611,scrollbars=yes,status =yes')">培训</a> <br/>
时间: 2025-01-28 03:53:13