1 Answer
New Answerfunction func() { /* function body */ } var delay = 2500; // millisecondes window.setTimeout( func, delay ); /* rest of code running without waiting execution of 'func' */ If you need to WAIT instead DELAY, you must handle a way to simulate an end event for your function...
SoloLearn Inc.
4 Embarcadero Center, Suite 1455Send us a message