js指定元素滚动条回到0

  document.getElementById("allStepList").scrollTop = 0; //回到顶部

 

posted @ 2021-01-19 16:50  ThisCall  阅读(881)  评论(0编辑  收藏  举报