The OpenD Programming Language

Element.closest

Returns itself or the closest parent that matches the given selector, or null if none found

class Element
@scriptable
closest
(
string selector
)

See Also

Meta