JavaScript Editor Ajax toolkit     Ajax website 



Main Page

Either more than one statement is on a line and the statements are not separated by semicolons, or a for statement is on a line without semicolons separating the initialization, test, and increment in the header.

Semicolons are used to terminate statements. Although several statements may be on a single line, each statement must be delimited from the next with a semicolon.

Semicolons are also used to separate the initialization, test, and increment expressions in the header of a for loop.

To correct this error

  1. Mark the end of each statement with a semicolon.

  2. Make sure function calls use parentheses properly.

  3. Make sure there are semicolons inside the header of a for loop.

  4. Make sure there is an = in an assignment.

See Also



JavaScript Editor Ajax toolkit     Ajax website


©