IE8中的jQuery Ajax响应

I have simple jquery/ajax code

$.ajax({
    url: "my_domain",
    type:"post",
    data: 'user_agent='+ window.navigator.userAgent+'&from='+self_loc,
    complete:function(res){
               console.log(res.responseText);
    }

})

in php i have just response one string like "test";

it work for chrome + firefox+opera but don't work for IE8 Any ideas? Thanks :)

May be an issue with your MIME type. Try to set an header with the content type you will return to the browser. And you may also need to opt out IE8s MIME sniffing.

ex:

<?PHP
Header("Content-Type: text/plain");
Header("X-Content-Type-Options: nosniff");
echo "test";