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

document.getElementById("sliderbody").scrollTop = 0;

 

posted @ 2020-04-16 13:51  ThisCall  阅读(340)  评论(0编辑  收藏  举报