Element.getAttributeNode

Retrieves an attribute node by name.

interface Element
getAttributeNode
(
DOMString name
)

Meta