<tr>
<th>具體描述:</th>
<td>
<textarea name='describes' rows="5" cols="5" class='form-control' style='width:300px;background:white;border: 0px;' placeholder='逐條描述'readonly="readonly" ><?php echo $info->describes;?></textarea>
</td>
</tr>
//注意:必須寫在 textarea 標籤下邊
<script> //根據textarea 標籤內容自適應高度
$.each($("textarea"), function(i, n){
$(n).css("height", n.scrollHeight + "px");
})
</script>