MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-survey

NamedNodeMap.getNamedItem()

Jump to:

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,