Interface HTMLFormControlsCollection

A collection of HTML form control elements.

MDN Reference

interface HTMLFormControlsCollection {
    length: number;
    item(index): Element;
    namedItem(name): Element | RadioNodeList;
}

Hierarchy (view full)

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