longdb
        //页面定时刷新.2017.09.27
         $(document).ready(function () {
             self.setInterval(function () {
                 var d = new Date();
                 var t = d.toLocaleTimeString();
                 document.getElementById("bname").value = t;
             }, 1000);
         })

2:

      //页面定时刷新.2017.09.27
         $(document).ready(function () {
             self.setInterval("startclock", 1000);
         })
         function startclock() {
             var d = new Date();
             var t = d.toLocaleTimeString();
             document.getElementById("bname").value = t;
         }

 

分类:

技术点:

相关文章:

  • 2021-11-19
  • 2021-06-24
猜你喜欢
  • 2021-11-19
  • 2021-11-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
相关资源
相似解决方案