jQuery UI API β .scrollParent()
Category
Usage
Description: Finds the closest scrollable ancestor.
Returns: jQuery
.scrollParent()
This method does not accept any parameters.
This method finds the closest scrollable ancestor. In other words, .scrollParent() finds the element in which the currently selected element is scrolling.
This method works on a jQuery object that contains only one element.
YouTip