C
C.Joseph Drayton
Hi All,
I am calling a PHP script that does an operation then sends back a
result. I want JavaScript to wait until that result has been
recieved. I am using the following code. What can I do to stop it
from generating a 'Too much recursion' error?
function WaitForData()
{
thrspns = result.indexOf("au~~th");
if (result==null || result=="") { WaitForData(); }
}
Ciao . . . C.Joseph
That which a man buys too cheaply . . .
He esteems too lightly
I am calling a PHP script that does an operation then sends back a
result. I want JavaScript to wait until that result has been
recieved. I am using the following code. What can I do to stop it
from generating a 'Too much recursion' error?
function WaitForData()
{
thrspns = result.indexOf("au~~th");
if (result==null || result=="") { WaitForData(); }
}
Ciao . . . C.Joseph
That which a man buys too cheaply . . .
He esteems too lightly