定时多少时间调用指定URL

<!DOCTYPE html>
<html>
</head>
<body>
<iframe id="ifPushOrderWrapper" src="URL" stype="width:300px; height:200px" ></iframe>
<script type="text/javascript">
function refreshOrderPush()
{
   document.getElementById('ifPushOrderWrapper').src="URL";
}
setInterval(refreshOrderPush,3000)
</script>
</body>  

猜你喜欢

转载自www.cnblogs.com/ws1992/p/9148897.html
今日推荐