Simple jQuery Plugin to Auto Resize Your <textarea>


Download

Usage

Basic Usage
$(document).ready(function() {
  $("textarea").autoresize()
})
Adding Value
// format
$("textarea").autoresize(minRow, maxRows)
// default value for minRow is 2 and maxRows is false
// you can empty the maxRows value to make your textarea have an infinity rows

// Example
$(document).ready(function() {
  $("textarea").autoresize(2, 5)
})

// Example with infinity rows
$(document).ready(function() {
  $("textarea").autoresize(2)
})

Playground


Contribute || Made with by RifkyLTF