Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Textarea autoresize that actually works
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
jquery.autosize-0.3.js

README.md

jQuery autosize

Textarea auto resize that actually works.

Usage

Simply run the plugin on any textarea:

$("textarea").autosize();

And bind on a textarea to listen for height changes:

$("textarea").bind("autosize", function(event, height) {
    console.log(height);
}

Compatibility

Tested in Chrome, Firefox, Safari, IE9, IE8

Something went wrong with that request. Please try again.