Need some help moving html from a div to a text area field
<p>I'm using nicEdit but it doesn't play well with our CMS. I need to take the formatted content that is generated by nicEdit and copy it to the appropriate text area field. Here is what I have.</p>

<pre><code>&lt;div contenteditable="true" style="width: 542px; margin: 4px; min-height: 120px; overflow: hidden;" class=" nicEdit-main   "&gt;&lt;span _moz_dirty="" style="color: rgb(153, 153, 0);"&gt;fdsfdsfdsfdsfdsfds&lt;/span&gt;&lt;br&gt;&lt;/div&gt;
</code></pre>

<p>I need to take the html inside the div and copy it here: </p>

<pre><code>&lt;textarea style="width: 550px; class="cat_listbox" rows="10" cols="50" id="ItemDescription" name="ItemDescription"&gt;&lt;/textarea&gt;
</code></pre>

<p>The content needs to go inside the text area tag in order to be submitted to the database. The event could be on submit or it could be dynamic. Either way would be good.</p>

<p>Any help would be appreciated.</p>
