原生JS
document.getElementById("alltext").scrollTop = document.getElementById("alltext").scrollHeight;
jquery:
AllText.prop("scrollTop",AllText.prop("scrollHeight"))
原生JS
document.getElementById("alltext").scrollTop = document.getElementById("alltext").scrollHeight;
jquery:
AllText.prop("scrollTop",AllText.prop("scrollHeight"))