爱吾下载文章资讯

分类分类

如何通过JS每5秒钟刷新数据库

2014-02-13 11:05作者:A5源码-小静

应广大程序员所需,本文介绍了怎样通过js实现每隔5秒钟刷新一次数据库的功能。

程序的实现代码如下:

<script type="text/javascript">

function openwin()

{ 

setTimeout("openwin()",5000);

xuan.location="xuan_up.asp?ok=yes";

}

</script>

<script>

openwin()

</script>

 更多js实现的特效请参考:http://down.admin5.com/texiao/

展开全部

相关

说两句网友评论
    我要跟贴
    取消