JavaScript DOM NamedNodeMap method: getNamedItem()
[this page | pdf | back links]
The getNamedItem() method (when applied to
NamedNodeMap
objects in the JavaScript
DOM) returns a
specified node from a NamedNodeMap, specified by its name.
It
has the following syntax with the following parameters. It returns a node
object representing the node at the relevant index value, or null if the index is outside the
applicable range.
namednodemap.getNamedItem(name)
|
Parameter
|
Required / Optional
|
Description
|
|
name
|
Required
|
String containing name
of node to be returned
|
NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)