Size of div is not expanded automatically jquery
<p>I have div with <code>draggable</code>, <code>resizable</code> and <code>editable (contenteditable=true)</code> functionality. This div </p>

<p>contain some text in it, which user can edit. My problem is that when user write the text in the div, the div size </p>

<p>is not expand automatically. I set its <code>height:auto</code> but this also not works. What should i do so that while </p>

<p>entering the text the size of div also increases? </p>
