Tag Archives: Development technology

“Unexpected syntax error: unexpected identifier”.

preface

opened a new project, the front end to write their own, when debugging the page, click the button, the background reaction, the front is not displayed. I keep reporting errors.

Process:
When debugging with IE, the error is:

——— “Uncaught SyntaxError: Unexpected Identifier” cause of error?

Firefox debug, the error is:

———-SyntaxError: missing : after property id
or
———- prompts me that the CSS style package for bootstarp cannot be found

Results:

However…

there has been no see “Uncaught SyntaxError: Unexpected identifier” mean.
JS report error, JS has error………….

Self-summary:
After this kind of situation, go to see their JS is not less comma ah, less semicolon what…
Why different browsers prompt the error, because different browsers to the code is not the same…
Don’t doubt, it must be your own fault, ha ha ha