getElementsByAttributeName

This function returns an array of objects that have the specified attribute attributeName.

Syntax

function xweb.document.getElementsByAttributeName(
attributeName : String
) : ArrayObject

Parameters

attributeName   A string that contains the attribute name to search for.

Returns

This function returns the htmlElement object that contains the specified attributeName. 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.