HTMLCollection DOM interface

A generic collection of elements
interface HTMLCollection {
  readonly attribute unsigned long length;
  Element item(in unsigned long index);
  Element namedItem(in DOMString name);
};
in Java:
public interface HTMLCollection {

  public int     getLength();
  public Element item(int index);
  public Element namedItem(String name);

};

Previous | Next | Top | Cafe con Leche

Copyright 2007 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified February 4, 2007