Easy Tutorial
❮ Api Scale Effect Api Effect ❯

jQuery UI API - .scrollParent()

Category

Methods | UI Core

Usage

Description: Get the nearest scrollable ancestor.

Returns: jQuery

This method does not accept any parameters.

This method finds the nearest 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 Scale Effect Api Effect ❯