.scrollParent()

Get the closest ancestor element that is scrollable.

This method finds the nearest ancestor that allows scrolling. In other words, the .scrollParent() method finds the element that the currently selected element will scroll within.

Note: This method only works on jQuery objects containing one element.

This method does not accept any arguments.
doc_jQuery
2016-03-28 14:47:56
Comments
Leave a Comment

Please login to continue.