How can I get and set the current web page scroll position?
I have a long form which needs to be refreshed based on user actions/input. When this happens, the page
You're looking for the document.documentElement.scrollTop property.
document.documentElement.scrollTop