Get the current horizontal position of the scroll bar for the first element in the Setting the scrollLeft positions the horizontal scroll of each Document scrollTo. window.scrollTo(0, 0); is the ultimate solution for scrolling the windows to the top - the best part is that it does not require any id selector and even if
Navigating PDF pages in Adobe Acrobat, Automatically scroll through a document Automatic ^ Back to top. Navigating PDF pages in Adobe Acrobat, Automatically scroll through a document Automatic ^ Back to top.
Auto-scrolling a DIV with overflow:scroll/auto.