随着文字输入增加自动增高文本框的代码
2013-09-06 22:42:15 +0800
<textarea style="overflow-y:hidden;height:20px;" onpropertychange="this.style.height=this.scrollHeight + 'px'" oninput="this.style.height=this.scrollHeight + 'px'">
Back to home
Subscribe |
Register |
Login
| N