Can anyone help me with creating a timer in ASP.Net using JScript.
I've seent the Timer control but can't get it to work in JScript because it
doesn't recognise the Elapsed property of the Timer control.
I want to create an interval of about 5 seconds or so before something
happens on the web page when it is loaded into the browser.
All help appreciated,
Paul
http://www.edazzle.net
Alan Corbett \(.NET MVP\) - 21 Oct 2003 23:26 GMT
I would strongly suggest against putting timer in your script code....Why
wait?
Are you having some sort of issue that you believe a timer will help
resolve?
> Can anyone help me with creating a timer in ASP.Net using JScript.
>
[quoted text clipped - 8 lines]
> Paul
> http://www.edazzle.net
Alexey V.Zelenin - 28 Nov 2003 13:12 GMT
Hello.
If you want to make a delay via Javascript, i recommend you to try to use
the setTimeout method.
It belongs to window object and you can read about it here
http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/settimeout.asp
But it surely depends of what do you want to do... If this will not help -
write explain your needs more exactly.

Signature
Alexey (alexey@webimage2000.com)
> I want to create an interval of about 5 seconds or so before something
> happens on the web page when it is loaded into the browser.
[quoted text clipped - 3 lines]
> Paul
> http://www.edazzle.net