how to make auto scroll to the end in css

54

let objDiv = document.getElementById("divExample");
objDiv.scrollTop = objDiv.scrollHeight;

Comments

Submit
0 Comments