“JSON”未定义“的问题,但在IE没有镀铬镀铬、但在、未定义、问题

2023-09-10 13:34:29 作者:来治猩猩的你 i

我收到以下错误,在IE9中,在这里我使用Json.stringify()我的jQuery ajax调用。

I am getting the following error with my jquery ajax call in IE9, where I am using Json.stringify().

微软JScript运行时错误:JSON未定义

Microsoft JScript runtime error: 'JSON' is undefined

同样的功能是为我工作,直到昨天仍然工作在我的同事的机器和铬我的机器上。但没有明显的原因已经停止工作今天我的机器上。

The same function was working for me till yesterday and still works on my colleagues machine and on chrome on my machine. But for no apparent reason has stopped working on my machine today.

您可以请帮我明白了,是什么原因造成的呢?

May you please help me understand, what is causing it?

谢谢!

推荐答案

您需要在您的文档在标准模式呈现。 见这一个http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/fc41127c-0243-4d2e-8e7c-2b311f12e390.

You need to have your document is rendered in standards mode. See this one http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/fc41127c-0243-4d2e-8e7c-2b311f12e390.

 
精彩推荐
图片推荐