First look at the following code, the picture is written with notepad++, the above two code below the same, but the following is an error
Start feeling is not a variable name problem, the results found not
For this wonderful problem, I can only post code, helpless!!!
"text/javascript "> function f1 () { var999; alert (n); } F1 (); </script> <script type="text/javascript"> function F2 () { var999; Alert (m); } F2 (); </script>
If there is an expert in the words, can you explain?
It turns out that the display inside the notepad++ is a little different:
Finally decisive choice error line front of the space, deleted, and then hit three tab key:
Appeared, with the usual dashed lines of God:
The problem actually out of the code in front of the white space character, this code was originally edited with the UltraEdit editor, the amount, if you are out of the same problem with me, this may be able to save you!
The error code is pasted:
axerror:unexpected token illegal
Element
Font |
Font-family |
|
Font-size |
|
Font-style |
|
Font-variant |
|
Font-weight |
|
Letter-spacing |
|
Line-height |
|
Text-decoration |
|
Text-align |
|
Text-indent |
|
Text-transform |
|
White-space |
|
Word-spacing |
|
Color |
|
Background |
Bg-attachment |
|
Bg-color |
|
Bg-image |
|
Bg-position |
|
Bg-repeat |
|
Box |
Width |
|
Height |
|
Border-top |
|
Border-right |
|
Border-bottom |
|
Border-left |
|
Margin |
|
Padding |
|
Max-height |
|
Min-height |
|
Max-width |
|
Min-width |
|
Outline-color |
|
Outline-style |
|
Outline-width |
|
Positioning |
Position |
|
Top |
|
Bottom |
|
Right |
|
Left |
|
Float |
|
Display |
|
Clear |
|
Z-index |
|
List |
List-style-image |
|
List-style-type |
|
List-style-position |
|
Table |
Vertical-align |
|
Border-collapse |
|
Border-spacing |
|
Caption-side |
|
Empty-cells |
|
Table-layout |
|
Effects |
Text-shadow |
|
-webkit-box-shadow |
|
Border-radius |
|
Other |
Overflow |
|
Cursor |
|
Visibility |
|
JavaScript axerror:unexpected token Illegal very simple code, but cannot explain the error