The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientUtils.GetParentById(element, id) Method

Returns a reference to the specified HTML element's first parent object which has an ID that matches the specified value.


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


Name Type Description
element any

An object specifying the child HTML element whose parent elements are searched.

id string

A string specifying the required parent's ID.


Type Description

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

See Also