文本框中添加以下js事件就可以了.
onpropertychange="this.style.height = this.scrollHeight + 3 +'px';"
οninput="this.style.height = this.scrollHeight + 3 + 'px';"
转载于:https://www.cnblogs.com/zhengjuzhuan/archive/2009/09/17/1568260.html
文本框中添加以下js事件就可以了.
onpropertychange="this.style.height = this.scrollHeight + 3 +'px';"
οninput="this.style.height = this.scrollHeight + 3 + 'px';"
转载于:https://www.cnblogs.com/zhengjuzhuan/archive/2009/09/17/1568260.html