getElementById(id: string): Element
Locates an element in the document according to its id.
Parameters
id: string
The id to search the document for.
Returns
The found element.
getElementById(id: string): Element
Locates an element in the document according to its id.