getElementsByTagName method

HTMLCollection getElementsByTagName(
  1. String qualifiedName
)

The getElementsByTagName method of Document interface returns an HTMLCollection of elements with the given tag name.

The complete document is searched, including the root node. The returned HTMLCollection is live, meaning that it updates itself automatically to stay in sync with the DOM tree without having to call document.getElementsByTagName() again.

Implementation

external HTMLCollection getElementsByTagName(String qualifiedName);