getElementInnerHTML method

Returns a string containing a specific element’s innerHTML content.

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 retVal = DiagnosticsDom.getElementInnerHTML(element);

Parameters

  • element [in]
    Type: Element

    The element to get the innerHTML.

Return value

Type: DOMString

InnerHTML text.

See also

DiagnosticsDom