<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>无标题页</title>
    <script type ="text/javascript" >
        function abc()
        {
          setTimeout ('alert("ok")',1000); //延时执行1000毫秒(1秒) 1秒后才执行
        }
        function def()
        {
          alert("ok");
        }
    </script>
</head>
<body>
    <input />

</body>
</html>
setInterval('sendAJAX()',1000); //每隔一秒钟执行一次sendAJAX()函数

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-12
猜你喜欢
  • 2022-01-11
  • 2022-12-23
  • 2021-09-13
  • 2022-12-23
  • 2021-04-21
  • 2021-07-08
  • 2022-12-23
相关资源
相似解决方案