JQuery 报错

来源:互联网 发布:中国厕所文化知乎 编辑:程序博客网 时间:2024/04/20 17:20

1.‘Syntax error,unrecognized expression’

In both cases allClasses variable ends with a comma at the end, so the final selector is something like .s0.s1,.s2,s3,s4, what is acceptable in jQuery 1.7, but doesn’t work in 1.8+.

最后以逗号结尾了,这个在jQuery 1.7是合法的,在jQuery 1.8就不合法了。

2.‘Uncaught SyntaxError: Unexpected identifier at Object.success error,unrecognized expression’

JSON解析格式错误

0 0