标签:
<script type="text/javascript"> $(document).ready(function () { function jump(count) { window.setTimeout(function () { count--; if (count > 0) { $(‘#num‘).text(count); jump(count); } else { location.href = "index.aspx"; } }, 1000); } jump(5); }); </script> <span style="font-size: 14px">页面将在<span id="num">5</span>秒钟后自动跳转。</span>
标签:
原文地址:http://www.cnblogs.com/LeoMan07777/p/4202918.html