WebIDLpedia

HTMLCollection interface

Definition

DOM Standard defines HTMLCollection



[Exposed=Window, LegacyUnenumerableNamedProperties]
interface HTMLCollection {
  readonly attribute unsigned long length;
  getter Element? item(unsigned long index);
  getter Element? namedItem(DOMString name);
};

Methods and attributes that return objects implementing HTMLCollection

Referring IDL interfaces/dictionaries

Referring specifications