textarea自适应高度

<!--textarea自适应高度--> <h3>textarea自适应高度</h3> <textarea style='border: 1px solid #94BBE2;100%;' rows=15 onpropertychange='this.style.posHeight=this.scrollHeight' id=textarea onfocus='textarea.style.posHeight=this.scrollHeight'> <br> <Br> </textarea>
http://www.corange.cn/archives/2008/06/1272.html
原文地址:https://www.cnblogs.com/zerogo/p/2209301.html