jquery – JavaScript – Uncaught SyntaxError: Unexpected token ?

jquery – JavaScript – Uncaught SyntaxError: Unexpected token ?

You have an illegal invisible character at the end of this line…

$(#test).append(Test);‚Äč// <-- right before this comment

Delete the line entirely, and retype it, or make sure the cursor is after all characters on the line, and hit backspace until you see characters actually being removed.

This happens sometimes if you copy & paste code from jsFiddle.

The charCode of the offending character is 8203.

jquery – JavaScript – Uncaught SyntaxError: Unexpected token ?

Leave a Reply

Your email address will not be published.