{{ obsolete_header("10.0") }}
{{ gecko_callout_heading("10.0") }}
Although this interface was previously implemented in Gecko, there was no way to actually create one. NameList has been removed effective with Gecko 10.0 {{ geckoRelease("10.0") }}
Provides an abstraction for an ordered collection of name and namespace value pairs. Items can be accessed by a 0-based index. The DOM spec does not specify how the collection is to be implemented.
Properties
length
(read-only)
Methods
Name | Action | Return |
contains ( str ) | Boolean | |
containsNS (namespaceURI, nameStr ) | Boolean | |
getName ( idx ) | DOMString | |
getNamespaceURI ( idx ) | DOMString |