📅  最后修改于: 2022-03-11 14:47:36.803000             🧑  作者: Mango
代码示例3
// scroll to end
var scrollDiv = document.getElementById("moveToBottom");
scrollDiv.scrollTop = scrollDiv.scrollHeight;