Method: NodeList.item()

Availability

BlackBerry Device Software version 4.6 or later

The item() method returns the Node at the specified index in the collection.

Syntax

NodeList.item( index )

Parameters

Parameter

Type

Description

index

int

An integer that represents the node’s position in NodeList. Valid values are between 0 and NodeList.length-1 inclusive.

Return values

Returns the node at the indexth position in NodeList, or null if an invalid index position is specified.

Exceptions

None.


Was this information helpful? Send us your comments.