jQuery chat application scroll to bottom of div ONLY on new message?

原文可能无法访问了,如果运气好的话,你还能看到我们对原文的 存档

摘要

I have picked up this AJAX code from multiple tutorials, but the problem is, when the ajax is called, the div ALWAYS scrolls to the bottom. But I want it so that the div ONLY scrolls if there are new

欢迎在评论区写下你对这篇文章的看法。

评论

首页 - Wiki
Copyright © 2011-2025 iteam. Current version is 2.144.0. UTC+08:00, 2025-07-07 06:52
浙ICP备14020137号-1 $访客地图$