js刷新页面的几种方法

history.go(0)
location.reload()
location=location
location.assign(location)
document.execCommand('Refresh')
window.navigate(location)
location.replace(location)
document.URL=location.href

 

posted @ 2015-09-07 23:10  赏音师  阅读(209)  评论(0编辑  收藏  举报