Auto Growing Textareas
This plugin makes it easy to have auto-growing textareas. Meaning, if you have a textarea, as the user types it will expand vertically to accommodate the size of the entry. This was inspired by Facebook's auto-expanding text areas.
To make a textarea autogrow, simply do this
$('textarea').autogrow();
$('textarea.classname').autogrow();
etc...
评论