Enumerator is a proprietary Microsoft object that iterates over items in a group.
Platform Support
IE | Mozilla | Netscape | Opera | Safari | 4.0+ | no | no | no | no |
---|
Constructors
Constructor | Action | IE | Mozilla | Netscape | Opera | Safari | |||||
---|---|---|---|---|---|---|---|---|---|---|---|
Enumerator Constructor(Object group) : Enumerator
Creates a new instance of an Enumerator object.
|
Show Details | 4.0+ | no | no | no | no | |||||
Enumerator(Object group) : EnumeratorCreates a new instance of an Enumerator object. Parameters
Returns
|
Functions
Method | Action | IE | Mozilla | Netscape | Opera | Safari | ||
---|---|---|---|---|---|---|---|---|
atEnd() : Boolean
Returns true if the current item is the last one in the group.
|
Show Details | 4.0+ | no | no | no | no | ||
Returns
|
||||||||
item() : Object
Returns the current item in the group.
|
Show Details | 4.0+ | no | no | no | no | ||
Returns
|
||||||||
moveFirst() : Object
Moves the current item to the first position in the group.
|
Show Details | 4.0+ | no | no | no | no | ||
Returns
|
||||||||
moveNext() : Object
Moves the current item to the next position in the group.
|
Show Details | 4.0+ | no | no | no | no | ||
Returns
|
Remarks
IE only. Supported in IE4+.
Availability
JScript 3.0