Is there a simple and clean jQUery-way to find the element who a element is having it's relative position to? In other words: finding the first parent who has the css attribute position: relative
, or the body-element (if no parent elements has position: relative
).
I do -not- know the css-class or whatsover of the parent.