Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

NameList

Nossos voluntários ainda não traduziram este artigo para o Português (do Brasil) . Junte-se a nós e ajude a fazer o trabalho!

Obsolete since Gecko 10.0 (Firefox 10.0 / Thunderbird 10.0 / SeaMonkey 2.7)
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

Note: 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

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

NameList.lengthRead only

Methods

NameList.contains()
Returns a Boolean.
NameList.containsNS()
Returns a Boolean
NameList.getName()
Returns a DOMString
NameList.getNamespaceURI()
Returns a DOMString

Specifications

Specification Status Comment
Document Object Model (DOM) Level 3 Core Specification
The definition of 'NameList' in that specification.
Recommendation Initial definition

Etiquetas do documento e colaboradores

Etiquetas: 
 Colaboradores desta página: Sebastianz, teoli, kscarfone, Prachi_Dighe, Sheppy, Brettz9
 Última atualização por: Sebastianz,