Home >Web Front-end >HTML Tutorial >下拉框始终保持在最下面_html/css_WEB-ITnose

下拉框始终保持在最下面_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-21 08:50:521837browse



请问 ,当我在这个页面切换聊天人的时候, 聊天记录里面的下拉框为什么老是在最上面,怎么让它保持在最下面?


回复讨论(解决方案)

切换聊天人之后执行
obj.scrollTop = obj.scrollHeight

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn