item
Method of dom/Elementdom/Element
Syntax
var object = object.item(/* see parameter list */);
Parameters
index
- Data-type
- any
An Integer that specifies the zero-based index of the object to get.
Return Value
Returns an object of type DOM NodeDOM Node
IHTMLElement
Notes
Remarks
Note if given a string that is not a numeric index, this method will return the object at index 0
. This method returns S_OK, even if the element is not found. Check the value of the IDispatch pointer returned by this call. If the value of the pointer is NULL; the element was not found, and the call was not successful.
Syntax
Standards information
There are no standards that apply here.
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]