If I understand you correctly; why not use a Fragment identifier #
in your link?
<a href="mypage.cfm#foo">Next Page</a>
If your table has the id of foo <table id="foo">
the browser will focus on the element when the page loads
Question
I'm using ColdFusion10. How do I capture the vertical position of a scrollbar/webpage? I have a page in a table that has Previous and Next buttons. Every time a user clicks the next button it loads the next number of rows, but currently the page scrolls backup to the top after every load. I require the page to not scroll to the top after the initial page load. Is there a way I can capture the vertical location of the scrollbar/webpage? Maybe I don't need to capture the current scrollbar position, but rather have it load at a certain vertical position after the first page.
Solution
If I understand you correctly; why not use a Fragment identifier #
in your link?
<a href="mypage.cfm#foo">Next Page</a>
If your table has the id of foo <table id="foo">
the browser will focus on the element when the page loads