<textarea id="tValue" style="overflow-y:hidden; height:20px;" onpropertychange="this.style.height=this.scrollHeight + 'px'" οninput="this.style.height=this.scrollHeight + 'px'"></textarea>
textarea 自动增高
最新推荐文章于 2024-03-15 16:36:49 发布
<textarea id="tValue" style="overflow-y:hidden; height:20px;" onpropertychange="this.style.height=this.scrollHeight + 'px'" οninput="this.style.height=this.scrollHeight + 'px'"></textarea>