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

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

WBOY
Release: 2016-06-21 08:50:52
Original
1831 people have browsed it



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


回复讨论(解决方案)

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

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template