David King

full stack developer

jQuery Textarea AutoGrow

https://github.com/oodavid/jQuery-Textarea-AutoGrow - source code

A tiny jQuery plugin to auto-grow textarea elements.

Demo type to grow

Demo type to grow with callback

The callback function makes this area shrink, thus keeping the total height static.

Could be useful for forms of a static size, for example a Facebook style chat.

View on Youtube