网络编程
位置:首页>> 网络编程>> Asp编程>> ASP使用xmlhttp定时触发事件

ASP使用xmlhttp定时触发事件

作者:never-online 来源:never-online weblog 发布时间:2008-08-19 18:09:00 

标签:xmlhttp,定时,事件

论坛上看到有人问ASP是否可以定时触发事件,我就顺便做了一个玩玩。

其实做这个的原理是很简单的,只是我们当时没有仔细的去想想该怎么实现,我这里用的是xmlhttp来实现的,当然还有其它的办法,我就不多说了。

现在看论坛上很多都是要一些“完整的代码”,看了之后真的是....汗-_-!

a.html

now.asp

<%
call main()
Function main()
response.write(now())
End Function
%>
0
投稿

猜你喜欢

手机版 网络编程 asp之家 www.aspxhome.com