Skip to main content

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

The 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