Just call $('textarea').autoheight(); or on any other jQuery object. The textarea will adjust it's height immediately and then it will do it automatically as the user types into that textarea. If for some reason you need to readjust it manually (e.g. when the value changed programatically) just call the same method again. The events listeners won't get attached twice.