当前位置: 代码迷 >> JavaScript >> JS的location.href 跃出框架打开新页面
  详细解决方案

JS的location.href 跃出框架打开新页面

热度:122   发布时间:2012-09-19 13:43:54.0
JS的location.href 跳出框架打开新页面

?

<script language="javascript">

window.top.location.href='log.html';

</script>

?

?

<a href="log.html" ?target="_top">log</a>

  相关解决方案