ITeye博客

[转]用于刷新网页的javascript函数

kim · 2006-12-06 13:08 · javascript · Markdown

window.history.go(0)
window.location.reload()
window.location.href=location.href
window.location.assign(location.href)
document.execCommand('Refresh')
window.navigate(location.href)
window.navigate("#pos");
window.location.replace(location.href)
window.open('自身的文件','_self')
-------------
location.reload(flag)
flag =true 不从缓存读取
=false 从缓存读取

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。