MDN wants to talk to developers like you: https://qsurvey.mozilla.com/s3/8d22564490d8

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,