Menu
Hi @ll!
I have a stupid problem on hands…here’s what happens:
I have this sequence of instructions:
–code
case “A”
function1();
function2();
alert(“test”);
break;
–code
The function function2() uses XMLHTTP to return some results and the async propertie is set to “false”…so everything’s fine…
When I run the code like above it works fine, but when I remove the alert(“test”) statement seams like code’s running throw without having function2() results…
Is there anyway to pause execution for some milisecs?? Is there especial propertie in the alert that makes this work?
Thx in advance for help.
Chears,
Pedro