[thelist] RE: SetTimeout & ClearTimeout
Lee Stewart
LeeStewart at bigfoot.com
Thu Sep 13 21:16:04 CDT 2001
> I hava a little timeout that should run for 0.5 seconds normally
> but should stop on an event.
I think setTimeout() only executes once, you don't need clearTimeout()
unless you want to cancel the scheduled event before it takes place. This
should work if you remove the clearTimeout() call.
The way it looks is that you set up a timed event to happen after a half
second, then you clear it - presumably before it gets triggered.
--- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
Lee Stewart StripedCow Technology Group, Inc.
http://www.stripedcow.com advanced web development
More information about the thelist
mailing list