HTMLFormControlsCollection

The HTMLFormControlsCollection interface represents a collection of HTML form control elements, returned by the HTMLFormElement interface's elements property.

MDN Reference

Properties

Link copied to clipboard
open override val length: Int

Functions

Link copied to clipboard
open operator fun get(index: Int): Element
Link copied to clipboard
open override fun item(index: Int): Element?

The HTMLCollection method item() returns the element located at the specified offset into the collection.

Link copied to clipboard
fun namedItem(name: String): ERROR CLASS: Symbol not found for JsAny??

The HTMLFormControlsCollection.namedItem() method returns the RadioNodeList or the Element in the collection whose name or id match the specified name, or null if no node matches.