[jQuery] Re: Pause between each()
This works perfectly! Thanks, Mike!
[jQuery] Pause between each()
Hi, all. I was wondering how I insert a pause between moving to the next item in an each function. Pseudo-code: $('things').each(function() { \\ do suff sleep(5000); }); I know I need to use setTimeout, but I'm not sure how to pass setTimeout an iterator so the next item is passed.