• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

NodeList

In contrast to the NamedNodeMap interface, which provides for holding Node objects in an unordered collection, the NodeList interface provides for an ordered collection of Node objects. The comparison is similar to the one between generic objects and arrays; objects are, among other things, basic containers (like NamedNodeMap objects). Arrays hold values with numbered indexes (like NodeList objects).

The similarity ends there, however. Neither NodeList nor NamedNodeMap must comply with the ECMAScript specifications for their counterparts, and neither Netscape nor Microsoft has written their browser to do so.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint