jQuery控制div层的滚动条始终显示在最底部

$(".chatList").scrollTop($(".chatList")[0].scrollHeight);


效果:

posted @ 2016-10-22 13:06  王传明  阅读(1962)  评论(0)    收藏  举报