定时刷新页面:
1 <meta http-equiv="refresh" content="20;url=http://www.google.cn">
2 setTimeout("window.location.reload()", 1000);
3 setTimeout("window.open('http://www.google.cn','child','')",5000)
4 setTimeout("self.location.reload()", 1000);
Frame刷新:
window.parent.frames["xxxx"].location.reload();
1 <meta http-equiv="refresh" content="20;url=http://www.google.cn">
2 setTimeout("window.location.reload()", 1000);
3 setTimeout("window.open('http://www.google.cn','child','')",5000)
4 setTimeout("self.location.reload()", 1000);
Frame刷新:
window.parent.frames["xxxx"].location.reload();