Home › Forums › JavaScript › jQuery run function in a loop? › Re: jQuery run function in a loop?
July 3, 2012 at 4:55 pm
#105336
karlpcrowley
Participant
I’d use the setTimeout instead
x
function yourFunction() {
// content of yourFunction
setTimeout("yourFunction()", speed);
}
yourFunction();