MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

NamedNodeMap.getNamedItem()

The NamedNodeMap.getNamedItem() method returns the Attr corresponding to the given name, or null if there is no corresponding attribute.

Syntax

myAttr = attrs.getNamedItem(name)

Parameters

  • name is the name of the desired attribute

Document Tags and Contributors

 Contributors to this page: teoli, rhoggSugarcrm
 Last updated by: teoli,