function resizeTextArea(msg){
        line = msg.rows;
        new_line = msg.value.split( "n" ).length + 1;
        if( new_line < line ) new_line = line;
        msg.rows = new_line;
}

+ Recent posts