getElementById

open override fun getElementById(elementId: String): HTMLElement?(source)

Returns the first element within node's descendants whose ID is elementId.

MDN Reference