定时多少时间调用指定URL

<!DOCTYPE html>
<html>
</head>
<body>
<iframe id="ifPushOrderWrapper" src="URL" stype="300px; height:200px" ></iframe>
<script type="text/javascript">
function refreshOrderPush()
{
   document.getElementById('ifPushOrderWrapper').src="URL";
}
setInterval(refreshOrderPush,3000)
</script>
</body>  
原文地址:https://www.cnblogs.com/ws1992/p/9148897.html