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

ASPxClientUtils.GetParentByClassName(element, className) Method

Returns a reference to the specified HTML element's first parent object whose class name matches the specified value.


static GetParentByClassName(element: any, className: string): any


Name Type Description
element any

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

className string

A string value specifying the class name of the desired HTML element.


Type Description

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

See Also