getElementsByTagName method

Retrieves a collection of objects based on the specified element name.

 

Syntax

Element retVal = object.getElementsByTagName(v);

Parameters

  • v [in]
    Type: BSTR

    BSTR that specifies the name of an element.

Standards information

Remarks

When you use the IHTMLElement2::getElementsByTagName method, all child and nested child elements with the specified tag name are returned.

See also

About the W3C Document Object Model