jquery 实现延迟跳转
<script> function delayer(){ window.location = "http://www.baidu.com"; } jQuery(document).ready(function(){ setTimeout(\'delayer()\', 2000); //这里实现延迟5秒跳转 }); </script>
<script> function delayer(){ window.location = "http://www.baidu.com"; } jQuery(document).ready(function(){ setTimeout(\'delayer()\', 2000); //这里实现延迟5秒跳转 }); </script>