Interface HTMLFormControlsCollection

    A collection of HTML form control elements.

    MDN Reference

    interface HTMLFormControlsCollection {
        length: number;
        [iterator](): ArrayIterator<Element>;
        item(index: number): Element;
        namedItem(name: string): Element | RadioNodeList;
    }
    Hierarchy

    Properties

    Methods

    Properties

    length: number

    Sets or retrieves the number of objects in a collection.

    MDN Reference

    Methods

    • Returns the item with ID or name name from the collection.

      If there are multiple matching items, then a RadioNodeList object containing all those elements is returned.

      MDN Reference

      Parameters

      • name: string

      Returns Element | RadioNodeList