getElementById (DOMDocument - JavaScript)

Gets the element whose ID is given by the element ID.

Defined in

DOMDocument

Syntax

getElementById(String elementId) : DOMElement