//Javascript刷新页面的几种方法:
history.go(0)
location.reload()
location=location
location.assign(location)
document.execCommand('Refresh')
window.navigate(location)
location.replace(location)
document.URL=location.href
//框架刷新
opener.location.reload() 子窗口刷新父窗口
window.opener.document.location.reload()
parent.FrameID.location.reload(); //刷新iframe
window.parent.frames[1].location.reload()//刷新frame
window.parent.frames.bottom.location.reload() //bottom frame名称
//自动刷新页面的方法:
<meta http-equiv="refresh" content="20"> //每隔20秒刷新一次
<meta http-equiv="refresh" content="20;url=http://www.aaa.net"> //指隔20秒后跳转到http://www.aa.net页面