A Dynamic HTML Page Scrolling Down
I have a dynamic HTML page built with bootstrap, jqxGrid, calling some server side code to get data. After loading the data, jqxGrid populated, the page scrolls down. Getting the c
Solution 1:
$("html, body").animate({scrollTop: "2500"}, 1000); //smooth scrolling 2500px down
Of course you can scroll to whatever element in your html by writing:
scrollTop: $(element).offset().top
Solution 2:
Look for something like:
<a href="#anchor">Link Text</a>
in your html code and quite possibly some javascript that is accessing it and causing the scroll.
Post a Comment for "A Dynamic HTML Page Scrolling Down"