Search Results
DOMNamedNodeMap::getNamedItem (PHP 5, PHP 7, PHP 8) DOMNamedNodeMap::getNamedItem — Retrieves a node specified by name
Feb 26, 2020 · The DOMNamedNodeMap::getNamedItem () function is an inbuilt function in PHP which is used to retrieve a node specified by name. This is used to get the attribute items and further get information about the attribute.
- Overview
- Syntax
- Browser compatibility
The getNamedItem() method of the NamedNodeMap interface returns the Attr corresponding to the given name, or null if there is no corresponding attribute.
Parameters
name A string with the name of the desired attribute.
Return value
An Attr corresponding to the name given in parameter, or null if none has been found.
BCD tables only load in the browser with JavaScript enabled. Enable JavaScript to view data.
Description The getNamedItem() method returns an attribute node from a NamedNodeMap object.
PHP Editor Review - Php Manual Function dom-domnamednodemap-getnameditem : PHP Developer, PHP Editors and PHP IDE list, biggest Php Editor and IDE list on the net. All Php Editors and IDEs are fully reviewed.
See also MSDN - getNamedItem Method MDC - NamedNodeMap W3C - NamedNodeMap.getNamedItem () DOM 2 Core getNamedItemNS () method
People also ask
What is getnameditem () method in JavaScript?
How do I get an attribute node from a namednodemap object?
How do I get a name in a namednodemap?
The method getNamedItem () retrieves the node specified by name. Following is the syntax for the usage of the getNamedItem() method. This method returns the Node specified by name.
