开发者

Uncaught SyntaxError: Unexpected Token - jQuery - Help!

开发者 https://www.devze.com 2023-02-15 16:22 出处:网络
Please help me get to the bottom of this...the only file that this error is pointing to, is my jQuery file.

Please help me get to the bottom of this...the only file that this error is pointing to, is my jQuery file.

See the error I am receiving here.

Uncaught SyntaxError: Unexpected Token - jQuery - Help!

How do I find开发者_运维问答 the line in the file that is throwing this error ?

Edit2: Here is a screenshot after Nathan's suggestion of replacing .js with .html or nothing at all:

Uncaught SyntaxError: Unexpected Token - jQuery - Help!


If you look at the data property listed in the debugger to the right, it looks like you are trying to eval() some HTML code as JavaScript. My guess is would be that your AJAX request is rendering an HTML error or pointing to the wrong URL, and not getting JS back.


Your entire file is throwing the error.

You're trying to execute some HTML as Javascript code.

0

精彩评论

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