XHR readyState = 4 but Status = 0 in Google Chrome Browser

Posted by Jay on Stack Overflow See other posts from Stack Overflow or by Jay
Published on 2010-06-18T15:30:20Z Indexed on 2010/06/18 15:33 UTC
Read the original article Hit count: 708

Filed under:
|
|

Hello i'v got a strange Problem with an AJAX call on my site. I make a simple AJAX call to a Script on my site. But the AJAX call fails with readState=4 and Staus = 0. There's no cross domain problem because the script i want to call is on my server.

$.ajax({
                    type:"GET",
                    url: 'http://mydomain.com/test.php',
                    success : function(response){
                        console.log(response);
                    },
                    error : function(XHR){
                        console.log(arguments);
                    }

});

I 've googled a lot of sites but there seems to be no solution for that!

© Stack Overflow or respective owner

Related posts about AJAX

Related posts about google-chrome