ascript刷新页面的几种方法

ascript刷新页面的几种方法

Javascript刷新页面的几种方法:

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

04-18 09:00