I'll be honest, I'm way out of my depth here. I've created a pagination system where you click on a link it reloads the page and a certain number of list items are shown in an unordered list. When you click it again it'll reload the page and more items showing. Think how Twitter shows the tweets in your feed.
The problem is when it reloads the page it stays at the top. What I would like is for it to jump to the same position on the page it previously had.
I already have a selector for the link set up fine I just don't know how to get the current scroll position and then pass it to the new page for it to jump to.
Here's my code so far:
Where do I go from here?