jQuery UI API - .scrollParent ()
category
Method (in Methods) | the UI core (UI Core)
usage
Description: Get recent scrollable ancestors.
Returns: the jQuery
.scrollParent()
This method does not accept any parameters.
The way to find the nearest scrollable ancestors. In other words, .scrollParent()
to find the currently selected element in its inner rolling elements.
This method only works on an element that contains the jQuery object.