[url]http://www.cnblogs.com/yahle/archive/2009/01/16/1335279.html[/url]
好用。验证了。。。great。。。
[quote]JQuery 和 json.js 因为都涉及到$的使用,因此直接引用两个文件会导致冲突,搜索了一下,中文网页里没啥解决方案,在JQuery网站里有一位大拿Mark Gibson利用json.js修改出的JQuery插件。经测试非常好用,在这里向大家推荐。
toJSON by Mark Gibson
hacked the original json.js into a jQuery plugin. It adds the two functions:$.toJSON(value),$.parseJSON(json_str, [safe]).[/quote]
好用。验证了。。。great。。。
[quote]JQuery 和 json.js 因为都涉及到$的使用,因此直接引用两个文件会导致冲突,搜索了一下,中文网页里没啥解决方案,在JQuery网站里有一位大拿Mark Gibson利用json.js修改出的JQuery插件。经测试非常好用,在这里向大家推荐。
toJSON by Mark Gibson
hacked the original json.js into a jQuery plugin. It adds the two functions:$.toJSON(value),$.parseJSON(json_str, [safe]).[/quote]
本文介绍了解决jQuery和json.js中使用冲突的方法。通过Mark Gibson修改的jQuery插件,实现了$.toJSON和$.parseJSON函数,解决了冲突问题。

2630

被折叠的 条评论
为什么被折叠?



