jQuery plugin that autoresizes your textarea elements to fit the content
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
example.html
jquery-1.4.2.min.js
jquery.nautoresize.js

README.md

nautoresize

jQuery plugin to help auto resize textareas.

Installation

  1. download the JS file along with jQuery and add them to your project
  2. link them.
  3. run the init: '$('textarea').init();'

you can pass in the following to the init method as key/value pair object:

  • maxHeight: how far it will go;
  • footPadding: extra padding to add at end, default is 10px

In future releases:

  • resize the textarea back to a smaller size as text changes

License

nautoresize is under teh MIT and GPL license.