DOM::HTMLCollection Class Reference
An HTMLCollection
is a list of nodes.
More...
#include <html_misc.h>
Public Methods | |
unsigned long | length () const |
This attribute specifies the length or size of the list. | |
Node | item (unsigned long index) const |
This method retrieves a node specified by ordinal index. | |
Node | namedItem (const DOMString &name) const |
This method retrieves a Node using a name. |
Detailed Description
An HTMLCollection
is a list of nodes.
An individual node may be accessed by either ordinal index or the node's name
or id
attributes. Note: Collections in the HTML DOM are assumed to be live meaning that they are automatically updated when the underlying document is changed.
Definition at line 126 of file html_misc.h.
Member Function Documentation
|
This attribute specifies the length or size of the list.
Definition at line 142 of file html_misc.cpp. |
|
This method retrieves a node specified by ordinal index. Nodes are numbered in tree order (depth-first traversal order).
Definition at line 148 of file html_misc.cpp. |
|
This method retrieves a
It first searches for a
Definition at line 154 of file html_misc.cpp. |
The documentation for this class was generated from the following files: