/

HTML / CSS / JavaScript Tutorial

JavaScript DOM NamedNodeMap method: removeNamedItem()

[this page | pdf | back links]

The removeNamedItem() method (when applied to NamedNodeMap objects in the JavaScript DOM) removes a specified node, specified by its name.

 

It has the following syntax with the following parameters. It returns a node object representing the removed node.

 

namednodemap.removeNamedItem(name)

 

Parameter

Required / Optional

Description

name

Required

String containing name of node to be removed

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)


Desktop view | Switch to Mobile