<textarea>$(document).ready(function() {
$("textarea").autoresize()
})
// 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)
})