Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
interface HTMLFormControlsCollection
implements HTMLCollectionBase
import { type HTMLFormControlsCollection } from "https://deno.land/x/yxz@0.32.0/typing/lib.dom.ts";

A collection of HTML form control elements.

Methods

namedItem(name: string): RadioNodeList | Element | null

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.