View Single Post
  #3 (permalink)  
Old December 20th, 2006, 01:18 AM
dgrumbli dgrumbli is offline
Registered User
 
Join Date: Dec 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote