autoresize textarea field after entering text dynamically
<p>I have a  which is filled by javascript.
The text inserted to the textarea is dynamic and can have different length, thus I need the textarea to be dynamically resize after the javascript entered the text.
I would like the textarea to have max width and if it's field the text will continue to fill in the next line causing the textarea height to grow.</p>

<p>How do I achieve such thing ?</p>
