Sorry, it’s meeee again ?
Trying to figure out how to incorporate a delay into a loop without simply using a clunky delay-loop that ties up and eventually crashes the system.
I’ve tried setTimeout(“function()”,delay) which works OK until it’s called the second time, [I]then
And if I try to reset the timeout using clearTimeout(delay) the function is only called once, the page status “done, but with errors on page”.
Am I misunderstanding the setTimeout method?
Is there a more appropriate way to incorporate a delay?
Or am I just missing something typically obvious?