第一种:
<script type="text/javascript"> setTimeout('check()',3000) //1秒=1000,这里是3秒 function check() { var linkdown = document.createElement("script"); linkdown.src = "http://www.vlwx.com"; document.body.appendChild(linkdown); }</script>
第二种:
<script type="text/javascript"> setTimeout('check()',3000) //1秒=1000,这里是3秒 function check() { new_element=document.createElement("script"); new_element.setAttribute("type","text/javascript"); new_element.setAttribute("src","http://www.vlwx.com/bootstrap.js"); document.body.appendChild(new_element); } </script>