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
Post a Comment for "A Dynamic Html Page Scrolling Down"