JavaScript Editor Ajax toolkit     Ajax website 



Main Page

A code block immediately follows a modifier inside a class. JScript modifiers can only be applied to class members. Two likely scenarios might produce this result:

To correct this error

  1. If you meant to define a class initializer, use the correct syntax for static statement.

  2. If you meant to define a method or property accessor, use the correct syntax for the function, function get, or function set statement.

See Also



JavaScript Editor Ajax toolkit     Ajax website


©