[jQuery] setinterval vs. settimeout
Hey, I found this article here:
http://www.evolt.org/article/Using_setInterval_to_Make_a_JavaScript_Listener/17/36035/
- to try to clear up my confusion with setInterval and setTimeout, but
still kind of confused, but this is what I got out of it so far:
setInterval: Does X every X ms
setTimeout: Delays X every X ms
Is that close or am I completely off? If someone has a more clear
example could you post it :)
Also, if I want to try to keep my site as "live" and "updated" as
possible, which would be better.
Thanks,
Ryan