Note: This documentation is preliminary and is subject to change.
Retrieves an object from the collection.
Syntax
oItem = object.item(lIndex)
Parameters
lIndex |
Required.
Integer variable that specifies the element or collection to retrieve. The method returns the element in the collection at the given position, where the first element has value 0 , the second has 1 , and so on. |
Return Value
Returns an object or a collection of objects if successful, or null otherwise.
Standards Information
This method is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 2
.
Applies To