Home > Web Front-end > HTML Tutorial > Implement automatic drop-down text box_html/css_WEB-ITnose

Implement automatic drop-down text box_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:03:47
Original
989 people have browsed it

When I want to display information in TextArea, the bottom information is always displayed. How can I make the scroll bar automatically pull down?


Reply to discussion (solution)

UserChat.scrollTop=UserChat.scrollHeight;

It turns out to be very simple, that’s it.

Related labels:
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