NodeList

Module: JavaScript DOM API

List of nodes.

#include <NodeList.idl>

Inherited by HTMLCollection

Public Functions

Name
getter Nodeitem(unsigned long index)
Get a node in the list.

Public Attributes

Name
readonly attribute unsigned longlength
the count of nodes in the list

Public Functions Documentation

function item

getter Node item(
    unsigned long index
)

Get a node in the list.

Parameters:

  • index index of the item

Return: the node at index

Public Attributes Documentation

variable length

readonly attribute unsigned long length;

the count of nodes in the list