开发者

IE6 JSON is undefined

开发者 https://www.devze.com 2023-03-13 21:30 出处:网络
I am using ajax with Jquery to call my c# web methods. These work great in IE8, firefox etc but comes up with this error in IE6.

I am using ajax with Jquery to call my c# web methods. These work great in IE8, firefox etc but comes up with this error in IE6.

Anyone have any id开发者_JS百科eas?

Cheers


IE6/7 does not have a native JSON parser. The following adds this functionality to lesser equipped browsers.

https://raw.github.com/douglascrockford/JSON-js/master/json2.js

0

精彩评论

暂无评论...
验证码 换一张
取 消