how to load at bottom of page html

111

how to load at bottom of page html -

<script>
    function scrollToBottom() {
        window.scrollTo(0, document.body.scrollHeight);
    }
    history.scrollRestoration = "manual";
    window.onload = scrollToBottom;
</script>

Comments

Submit
0 Comments