js 返回+本页刷新+返回并刷新
2017-08-09 本文已影响0人
发光驴子
postForm.submit(); 本业刷新
window.history.go(-1);//返回上一页不刷新
window.location.href = document.referrer;//返回上一页并刷新
<meta http-equiv="refresh" content="20"> //其中20指每隔20秒刷新一次页面.
<body onload="opener.location.reload()"> //开窗时刷新
<body onUnload="opener.location.reload()"> // 关闭时刷新。