//刷新当前页面
history.go(0)
location.reload()
location=location
location.assign(location)
document.execCommand('Refresh')
window.navigate(location)
location.replace(location)
document.URL=location.href
//自动刷新,在<head>中,每30秒刷新
<meta http-equiv="refresh" content="30">
//页面自动跳转,加入<head>区域中,30秒后跳转到某页面
<meta http-equiv="refresh" content="30;url=http://www.jb51.net">
指定刷新,js控制
<script language="JavaScript">
function myrefresh()
{
window.location.reload();
}
setTimeout('myrefresh()',1000); //指定1秒刷新一次
</script>
<script language="JavaScript">
//刷新包含该框架的页面用
//子窗口刷新父窗口
( 或 刷新 )
//刷新另一个框架的页面用
</script>