JavaScript Editor Ajax toolkit     Ajax website 



Main Page

A class declaration exists in an inappropriate context. Class declarations are allowed only in the main program block, inside other classes, inside packages, or in functions.

To correct this error

  • Define the class in the main program block, inside another class, inside a package, or in a function.

See Also

Reference

class Statement

Concepts

Troubleshooting Your Scripts

Other Resources

JScript Reference



JavaScript Editor Ajax toolkit     Ajax website


©