Originally Posted by simmons
what happens if xmlhttp.readyState isn't 4 (completed)?
i have a piece of code where a couple of calls are made to different forms/divs and sometimes the xmlhttp.readyState isn't 4 ....
how do I make the code 'wait' for xmlhttp.readyState==4?
if (xmlhttp.readyState==4 && xmlhttp.status==200)
// put code that must wait for
//readyState 4 here ...