A jQuery plugin that auto-expands textareas to fit the contents as a user types.
The expandable plugin has 4 settings:
duration
- The speed of the animation when expanding (or shrinking). Default is 'normal'.interval
- The interval at which it checks the textarea. Default is 750.within
- The number of rows left before expanding. Default is 1.by
- The number of rows to expand by. Default is 2.
The expandable plugin is dual licensed (just like jQuery) under the MIT and GPL licenses.
Copyright (c) 2008 Brandon Aaron