Have a jsp page with data that gets fetched from a database. Once the page is loaded -> it displays data and shifts downward. This necessitates my having to move the scrollbar up to view the data – any javascript solution ?
[CODE]<Script Language=JavaScript> function gotoTop(){ window.scrollTo(0,0); } window.onload=gotoTop; </Script>[/CODE]
Help @pnsubramanian spread the word by sharing this article on Twitter...