当前位置: 代码迷 >> Web前端 >> 清空window.location.hash后页面回到顶端的解决方法
  详细解决方案

清空window.location.hash后页面回到顶端的解决方法

热度:126   发布时间:2012-09-09 09:27:54.0
清空window.location.hash后页面回到顶端的解决办法

window.location.hash = newHash || '_';

  相关解决方案