在index.jsp中
<frameset> <frame></frame> <frameset> <frame></frame> <frame>A</frame> </frameset></frameset>
在a 中写上
<meta http-equiv="refresh" content="3;URL=index.jsp">
这样只会在A中显示刷新,我是想让网页整体刷新,求教?
回复讨论(解决方案)
是写在index.jsp中还是A?
<script type="text/javascript">window.onload = function() { setTimeout('self.parent.location.reload()', 3000);}</script> 用window.top也可以:
<script type="text/javascript">window.onload = function() { setTimeout('window.top.location = "index.jsp";', 3000);}</script>用脚本好!











