ASPxClientUtils.GetChildById(element, id) Method
In This Article
Returns a reference to the first element that has the specified ID in the parent HTML element specified.
#Declaration
TypeScript
static GetChildById(
element: any,
id: string
): any
#Parameters
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. |
#Returns
Type | Description |
---|---|
any | An object representing the first element with a matching ID or null if no matching element is found. |
See Also