I'm trying to set the speed that a FOR loop runs through. I'm dynamically submitting a form based on input from an array. The code works but only if it is slowed down (currently) with an alert line. If I could set an Interval I wouldn't have to keep pressing the alert box to close & could remove the code.
I can only get the setInterval to work with an array if I use an if statement and a counter in the function. But a document.form.submit() breaks the code in the middle of an interval.
Is there any way to slow down the for loop?
Any help?
I can only get the setInterval to work with an array if I use an if statement and a counter in the function. But a document.form.submit() breaks the code in the middle of an interval.
Is there any way to slow down the for loop?
Any help?