ASPxClientUtils.GetParentByClassName(element, className) Method
Returns a reference to the specified HTML element’s first parent object whose class name matches the specified value.
Declaration
static GetParentByClassName(
element: any,
className: string
): any
Parameters
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. |
Returns
Type | Description |
---|---|
any | An object representing the first parent element with a matching class name or a null value if no matching element is found. |
See Also