Easy Tutorial
❮ Api Jquery Widget Bridge Api Enableselection ❯

jQuery UI API - .scrollParent()

Category

Methods | UI Core

Usage

Description: Get the closest scrollable ancestor.

Returns: jQuery

This method does not accept any parameters.

This method finds the closest scrollable ancestor. In other words, .scrollParent() finds the element within which the currently selected element scrolls.

This method only works on jQuery objects containing a single element.

❮ Api Jquery Widget Bridge Api Enableselection ❯