JavaScript Editor Ajax toolkit     Ajax website 



Main Page

The code declares a function, variable, or constant inside a package. Only classes and interfaces can be defined in a package.

To correct this error

  • Remove all definitions in the package that are not for a class or interface.

See Also

Reference

package Statement

Concepts

Troubleshooting Your Scripts

Other Resources

JScript Reference
JScript Objects



JavaScript Editor Ajax toolkit     Ajax website


©