I have an app that returns JSON data from an ajax request with the MIME type ‘application/json’. In IE8, it throws an error that the MIME type is not found.
Is there anyway around this, other than changing the MIME type to text/plain?
Thank you!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What always works, for me at least, is setting the request header to receive
*/*, and includingjson2.jsfor IE<9, which can be found here. Then in the callback function justJSON.parse(this.responseText);and you should be ok