Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
25
rated 0 times [  31] [ 6]  / answers: 1 / hits: 69082  / 13 Years ago, wed, november 30, 2011, 12:00:00

I get the following error in IE 9 SCRIPT5009: 'JSON' is undefined only when in compatability mode. the line causing this error is



JSON.stringify(togObj.Answers)


The error does not occur in ie (non-compatability mode), Chrome or Firefox.
Any idea what's going on here?


More From » json

 Answers
15

See here for a blog post explaining the situation: Resolve JSON is Undefined Error in Internet Explorer



Include the JSON library in your page and you should be good to go.


[#88818] Tuesday, November 29, 2011, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
reed

Total Points: 725
Total Questions: 85
Total Answers: 89

Location: Singapore
Member since Sat, Jul 25, 2020
4 Years ago
;