JavaScript Editor Ajax toolkit     Ajax website 



Main Page

The code invoked the Enumerator.prototype.atEnd, Enumerator.prototype.item, Enumerator.prototype.moveFirst, or Enumerator.prototype.moveNext method on an object of a type other than Enumerator. The object of this type of invocation must be of type Enumerator.

To correct this error

  • Only invoke the Enumerator.prototype.atEnd, Enumerator.prototype.item, Enumerator.prototype.moveFirst, or Enumerator.prototype.moveNext methods on objects of type Enumerator. To find out if your object is an Enumerator object, use:

    В CopyCode imageCopy Code
    if(x instanceof Enumerator)

See Also



JavaScript Editor Ajax toolkit     Ajax website


©