3 Autosize is a small, stand-alone script to automatically adjust textarea height to fit text.
7 Full documentation and a demo can be found at [jacklmoore.com/autosize](http://jacklmoore.com/autosize)
14 #### Browser compatibility
16 Chrome | Firefox | IE | Safari | iOS Safari | Android | Opera Mini | Windows Phone IE
17 ------ | --------|----|--------|------------|---------|------------|------------------
18 yes | yes | 9 | yes | yes | 4 | ? | 8.1
22 The autosize function accepts a single textarea element, or an array or array-like object (such as a NodeList or jQuery collection) of textarea elements.
26 autosize(document.querySelectorAll('textarea'));
29 autosize(document.querySelector('textarea'));
31 // from a jQuery collection
32 autosize($('textarea'));
35 Released under the [MIT License](http://www.opensource.org/licenses/mit-license.php)