getElementById

abstract fun getElementById(elementId: String): Element?(source)

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

MDN Reference