refresh page scrolltop 0 1

refresh page scrolltop 0

$(document).ready(function(){
    $(this).scrollTop(0);
});

Here is what the above code is Doing:
1. When the page loads, it will scroll to the top of the page.
2. When the user scrolls down, the button will appear.
3. When the user clicks the button, it will scroll to the top of the page.

Similar Posts