日期:2014-05-16  浏览次数:20397 次

javascript-5种跳转页面的办法
<script language=”javascript” type=”text/javascript”>
window.location.href=”login.jsp?backurl=”+window.location.href;
</script>


<script language=”javascript”>
alert(”back”);
window.history.back(-1);
</script>


<script language=”javascript”>
window.navigate(”top.jsp”);
</script>


<script language=”JavaScript”>
self.location=”top.htm”;
</script>


<script language=”javascript”>
alert(”Access Violation”);
top.location=”error.jsp”;
</script>