org.w3c.dom.Document.getElementById
method
public getElementById(elementId as String) as Element
Description

Returns the element marked with the given identifier.

Parameters
  • elementId Identifier value.
Returns

Matching element, or null.

Example
element = document.getElementById("42")