1 jQuery.fn.textarea_grow = function(){
2 return this.each(function(){
4 console.debug( 'textarea_grow', rows, this );
5 var grow = function(ta) {
6 var lines = ta.value.split('\n').length;
10 console.debug('keyup', lines, rows, ta );
14 this.onkeyup = function() { grow(this) };