Home > jquery-nautoresize

jquery-nautoresize

Jquery-nautoresize is a project mainly written in JavaScript, it's free.

jQuery plugin that autoresizes your textarea elements to fit the content

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.

Previous:twet