NetBlog主题

JS定时跳转
Web前端

JS定时跳转

1853 0

<script type="text/javascript"> window.onload = function () {setInterval(function () {document.getElementById(txt1).value++;if (document.getElementById(txt1).value == 10) {location.href = http://www.luofenming.com;}},1000)}</script>//…