HTML代码:

<ul class="tasklog-dialog-ul" id="auto_to_bottom">
    <li>删除虚拟机快照成功</li>
    <li>删除虚拟机快照成功</li>
    <li>删除虚拟机快照成功</li>
    <li>删除虚拟机快照成功</li>
    <li>删除虚拟机快照成功</li>
    <li>删除虚拟机快照成功</li>
    <li>删除虚拟机快照成功</li>
</ul>

 

JS代码:

// 自动滚动到底部
var bottom = document.getElementById('auto_to_bottom');
bottom.scrollTop = $('#auto_to_bottom').width();

 

相关文章:

  • 2022-02-03
  • 2022-12-23
  • 2022-12-23
  • 2021-09-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-19
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案