SCRIPT5009:'JSON'未定义 [英] SCRIPT5009: 'JSON' is undefined
本文介绍了SCRIPT5009:'JSON'未定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在IE 9中收到以下错误 SCRIPT5009:'JSON'未定义
仅在兼容模式下。导致此错误的行是
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)
在ie(非兼容模式),Chrome或Firefox中不会发生错误。
知道这里发生了什么吗?
The error does not occur in ie (non-compatability mode), Chrome or Firefox. Any idea what's going on here?
推荐答案
在这里查看解释情况的博客文章:解决JSON是Internet Explorer中未定义的错误
See here for a blog post explaining the situation: Resolve JSON is Undefined Error in Internet Explorer
包括 JSON库在你的页面中你应该很高兴。
Include the JSON library in your page and you should be good to go.
这篇关于SCRIPT5009:'JSON'未定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文