scrollToTop()

Scrolls an element to the top of its container.

scrollToTop()

Scrolls an element to the top of its container.

Usage:

$('#content').scrollToTop();

Last updated