running this in IE9:
if (typeof(JSON) === 'object' &&
typeof(JSON.parse) === 'function') {
// Native JSON parsing is available.
}
It does not support native json. What do I wrong?
Could there be wrong security settings in my IE ?
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.
Perhaps your page is in quirks mode? I believe you need standards mode for IE9 to enable JSON.
Make sure you don’t have any weirdness before your
<!DOCTYPEand make sure it’s one that triggers standards mode in IE9.