getElementsByTagName

This function returns an array of all the elements that contain the tag specified by tagName. If more than one element is found, only the first element is returned.

Syntax

function xweb.document.getElementsByTagName(
tagName : String
) : ArrayObject

Parameters

tagName   A string that contains the tag name to search for.

Returns

This function returns an array of the elements that contain the specified tagName. If no matching element is found, an empty array is returned.

See Also

Concepts

document
document Members
xweb

  Copyright © 2011 by Microsoft Corporation. All rights reserved.