Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图让 jqGrid 出现在 IE7 中。在 IE8 中可以,但在 IE7 中,它根本不出现。它使用的是本地数据,尽管我还添加了对 JSON2.js 的引用以防万一。
有什么想法吗?
问题是 postData 部分包含 2 个项目,在第 2 个项目之后有一个流氓逗号,所以看起来像:-
postData: { var1: 1, var2: 2, }
这通过了 IE9,但在 IE7 兼容模式下,它抛出了一个错误。