Thanks, the PHP file was the problem, I replaced it with and asp file and it now works for IE but I still have a problem with Netscape.
Using Netscape, I make it to onreadystatechange function. The program starts to execute the onreadystatechange and then terminates. To look at this I placed a couple of alert statements in the code. By monitoring the oRequest.readyState I see that in IE I get an alert for 2, 3, and then 4 which then continues to completion of the program. In Netscape I get a 1, then a 2 and the program terminates.
Any ideas what may be wrong with Netscape? I have included the onreadystatechange code below I am monitoring.
oRequest.onreadystatechange = function () {
if (oRequest.readyState == 4) {
alert(oRequest.readyState + ":" + oRequest.responseText + ":" + oRequest.status );
fnCallback(oRequest.responseText);
}
alert(oRequest.readyState);
}
Thanks,
Dan
|