Skip to main content
A newer version of this page is available. .

ASPxClientUtils.GetChildByTagName(element, tagName, index) Method

Returns a reference to the particular element that has the specified element name and is contained within the specified parent HTML element.

Declaration

static GetChildByTagName(
    element: any,
    tagName: string,
    index: number
): any

Parameters

Name Type Description
element any

An object specifying the parent HTML element to search.

tagName string

A string value specifying the element name (tag name) of the desired HTML element.

index number

An integer value specifying the zero-based index of the desired element amongst all the matching elements found.

Returns

Type Description
any

An object representing the matching element; a null value if no matching element is found.

See Also