你的位置:首页 > Java教程

[Java教程]JavaScript访问ab页面定时跳转代码


 1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4   <meta charset="UTF-8"> 5   <title>Document</title> 6  7 </head> 8 <body> 9   10 </body>11   <script type='text/javascript'>12   function pload(){13     setTimeout("location.href='2.php'",3000);14   }15   pload();16   </script>17 </html>