getElementByUniqueId method

Gets an element based on its unique id.

Note  These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.

 

 

Syntax

var oElement = DiagnosticsDom.getElementByUniqueId(id);

Parameters

  • id [in]
    Type: DOMString

    UniqueID for an element

Return value

Type: Element

Element that matches the id.

See also

DiagnosticsDom