iframe自动刷新 iframe怎么自动刷新 要每隔一段时间就去和servlet取值 但是我不要整个页面刷新 就这个iframe刷新就可以了 在线等 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <SCRIPT LANGUAGE="JavaScript"><!--function fresh(){ document.getElementById('frame0').src='b.html'; setTimeout("fresh()",5000); }setTimeout("fresh()",5000); //--></SCRIPT><BODY> <iframe id="frame0" src=“b.html” /></BODY> <meta http-equiv="Refresh" content="5" >5秒把这个放到你的iframe页面里的<head>里头 <SCRIPT LANGUAGE="JavaScript"> <!-- function fresh(){ document.getElementById('frame0').src='b.html'; setTimeout("fresh()",5000); } setTimeout("fresh()",5000); //--> </SCRIPT> <BODY> <iframe id="frame0" src=“b.html” /> </BODY>二楼的这个,是可以的,试过了。 java代码如何读取UKEY的信息呢? 如何在浏览器IE的java控制台调试applet小应用程序 关于JAVA FTP 客户端程序异常 【不解】关于事务 关于Servlet的XML配置问题 怎样将“abcd|deme|feen"分割成一个字符串数组"abcd","deme","feen"呢?解决了马上给分 在include中怎么用绝对路径。 java连接Access数据库问题 easyui中的detailview显示不出来。 HttpClient Cookie问题 用于jsp中的,有没有 即能做统计图 又能做统计表的工具 Html中的span 有没有value属性
<!--
function fresh(){
document.getElementById('frame0').src='b.html';
setTimeout("fresh()",5000);
}
setTimeout("fresh()",5000);
//-->
</SCRIPT>
<BODY>
<iframe id="frame0" src=“b.html” />
</BODY>
<!--
function fresh(){
document.getElementById('frame0').src='b.html';
setTimeout("fresh()",5000);
}
setTimeout("fresh()",5000);
//-->
</SCRIPT>
<BODY>
<iframe id="frame0" src=“b.html” />
</BODY>
二楼的这个,是可以的,试过了。