且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

jQuery ajax调用返回JSON解析错误

更新时间:2021-08-12 21:57:12

在这里,"application/json"对于dataType属性不是有效值. 我在项目中将其更改为"json",并且解决了相同的问题.

Here, "application/json" is not a valid value for the dataType property. I changed it to "json" in my project and the same problem was solved.

请在此处查看详细信息(评论#7): http://bugs.jquery.com/ticket/8216

Please check details here (comment #7): http://bugs.jquery.com/ticket/8216