Skip to main content

ASPxClientUtils.GetChildById(element, id) Method

Returns a reference to the first element that has the specified ID in the parent HTML element specified.


static GetChildById(
    element: any,
    id: string
): any


Name Type Description
element any

An object identifying the parent HTML element to search.

id string

A string specifying the ID attribute value of the desired child element.


Type Description

An object representing the first element with a matching ID or null if no matching element is found.

See Also