jQuery | offsetParent() with Example
The offsetParent() method is an inbuilt method in jQuery which is used to find the first positioned parent element in the DOM tree.
Parameters: This method does not contains any parameter.
Return Value: This method returns the first positioned parent element.
Below example illustrates the offsetParent() method in jQuery: