通过id获取元素控制滚动位置回到顶部

document.getElementById("sliderbody").scrollTop = 0;
原文地址:https://www.cnblogs.com/dianzan/p/12712377.html