frameset中页面自动刷新问题,求教
在index.jsp中
- HTML code
<frameset> <frame></frame> <frameset> <frame></frame> <frame>A</frame> </frameset></frameset>
在A 中写上
- HTML code
<meta http-equiv="refresh" content="3;URL=index.jsp">
这样只会在A中显示刷新,我是想让网页整体刷新,求教?
[解决办法]
用window.top也可以:
- HTML code
<script type="text/javascript">window.onload = function() { setTimeout('window.top.location = "index.jsp";', 3000);}</script>