Mozilla's getting a new look. What do you think? https://mzl.la/brandsurvey

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,