HTMLCollection

extern class js.html.HTMLCollectionAvailable in js

HTMLCollection is an interface representing a generic collection of elements (in document order) and offers methods and properties for traversing the list.

Note: This interface is called HTMLCollection for historical reasons (before DOM4, collections implementing this interface could only have HTML elements as their items).

HTMLCollections in the HTML DOM are live; they are automatically updated when the underlying document is changed.



Documentation for this class was provided by MDN.
var length(default,null) : IntThe number of items in the collection. Read only. function item( index : Int ) : Node function namedItem( name : String ) : Node
version #18279, modified 2013-05-01 11:57:33 by api
0 comment