/**
* 设置聊天框中的滚动条始终在底部
*/
function setScrollForBottom(id){
var height = document.getElementById(id).scrollHeight;
$("#"+id).scrollTop(height);
}
js设置滚动条到div底部
原创
©著作权归作者所有:来自51CTO博客作者向往宇宙的原创作品,请联系作者获取转载授权,否则将追究法律责任
上一篇:js 删除数组元素
下一篇:spring cron表达式
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章