textarea 自动适应高度
<textarea name="mytextarea" cols="80" style="overflow-y:hidden;height:80px;" onpropertychange="this.style.height=this.scrollHeight+'px';" οninput="this.style.height=this.scrollHeight+'px';"></textarea>
#########################################################################################
$("textarea").each(function() {
$(this).css("height",$(this).attr("scrollHeight"));
});