现在的位置: 首页 > 综合 > 正文

返回到不同页面的应用

2014年09月08日 ⁄ 综合 ⁄ 共 417字 ⁄ 字号 评论关闭

<A href="denglu.asp"
 onClick="javascript:location.replace(this.href);
event.returnValue=false; " >

<script language="JavaScript" type="text/javascript">
window.parent.location="father.html"; //返回到此页面的父页面(father.html可替换)
window.top.location="grandfather.html";  //返回到此页面的最上层页面(主页面),grandfather.html可替换
window.location.replace("skip.html");  //跳转到另一页面,等同于"location='skip.html' "
window.location.reload();   //重新载入(刷新)窗口中的当前页面
</script> 

抱歉!评论已关闭.