jQuery UI API - .scrollParent()
Category
Usage
**Description:** Get the nearest scrollable ancestor.
Returns:jQuery
.scrollParent()
This method accepts no arguments.
This method finds the nearest scrollable ancestor. In other words,.scrollParent() it finds the element within which the currently selected element scrolls.
This method works only on a jQuery object containing a single element.