Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Textarea autoresize that actually works

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README.md
Octocat-spinner-32 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.