item Method

This topic documents a feature of HTML+TIME 2.0, which is obsolete as of Windows Internet Explorer 9.

Retrieves an object from the element collection by name or index.

Syntax

oItem = object.item( [sName] [, iIndex])

Parameters

sName Optional. A String or Integer that specifies the name or index of the item to retrieve. If sName is an index, then the iIndex parameter is ignored. If a value is not specified, the method returns the first element in the collection.
iIndex Optional. An Integer that specifies an optional index to use if more than one element share the same name. If a value is not specified, this method may return a collection of elements.

Return Value

Returns a reference to the item or collection.

Remarks

The first object in the collection is located at index position 0, and the last object in the collection is located at position length minus 1.

Applies To

timeAll, timeChildren

See Also

Community Additions

ADD
Show: