这段话有什么问题?为什么reload()得不到执行?分少不好意思 document.frames.xxx.location.reload();沙发 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 document.frames.xxx.location.reload(); 好象以前也试过,这样刷新iframe不行的,试试下面的笨办法<div id="yyy"><iframe name="xxx" src="http://www.google.com" width=250 height=200></iframe></div><script>function myfunc(){ yyy.innerHTML = yyy.innerHTML;}setTimeout("myfunc()",10000);</script> 那这样呢?<body><iframe name="xxx" src="http://www.google.com" width=250 height=200></iframe><script>function myfunc(){document.xxx.location.href=document.xxx.location.href;}setTimeout("myfunc()",10000);</script></body> <html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta name="GENERATOR" content="Microsoft FrontPage 4.0"><meta name="ProgId" content="FrontPage.Editor.Document"><title>New Page 1</title><script language="javascript">function myfunc(){ xxx.location.href="http://www.baidu.com"; setTimeout("myfunc()",3000);}</script></head><body><iframe name="xxx" src="http://www.163.com" width=250 height=200></iframe><script language="JavaScript"><!-- setTimeout("myfunc()",8000);//--></script></body></html> div在游览器中的相对位置显示 求获得对象绝对位置。 query合并列单元格问题 JS验证不考虑字符间空格,如何实现? 请教一个小问题 层间位置的问题 图片连续播放效果,图片显示问题。 javascript 闭包和作用域 一个很简单,但很奇怪的弹出对话框问题 模态窗口弹出两个的问题 急!!在线等待!期盼高手!!页面的跳转的问题!!!!!!!!!!! 如何检查页面是否更新?
<div id="yyy">
<iframe name="xxx" src="http://www.google.com" width=250 height=200></iframe>
</div><script>
function myfunc(){
yyy.innerHTML = yyy.innerHTML;
}
setTimeout("myfunc()",10000);
</script>
<body>
<iframe name="xxx" src="http://www.google.com" width=250 height=200></iframe>
<script>
function myfunc(){
document.xxx.location.href=document.xxx.location.href;
}
setTimeout("myfunc()",10000);
</script>
</body>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
<script language="javascript">
function myfunc(){
xxx.location.href="http://www.baidu.com";
setTimeout("myfunc()",3000);
}
</script>
</head><body>
<iframe name="xxx" src="http://www.163.com" width=250 height=200></iframe><script language="JavaScript">
<!--
setTimeout("myfunc()",8000);//-->
</script>
</body></html>