YouTip LogoYouTip

Api Scrollparent

jQuery UI API – .scrollParent()

jQuery UI API – .scrollParent()

Category

Methods | UI Core

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.

← Api UniqueidApi Removeuniqueid β†’