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

来源:互联网 发布:网易云课堂软件 编辑:程序博客网 时间:2024/05/01 19:23
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 从缓存读取
原创粉丝点击