JavaScript Editor Ajax toolkit     Ajax website 

Main Page

The program is attempting to create a new Enumerator object, but the argument passed to the constructor is not a collection.


Elements of a collection can be accessed directly in JScript. For more information, see Enumerator Object.

To correct this error

  • Make sure that only collections are used to construct Enumerator objects.

See Also


Enumerator Object


Troubleshooting Your Scripts

Other Resources

JScript Reference

JavaScript Editor Ajax toolkit     Ajax website