jquery create a new object and insert html text
<p>i create new div, and how insert text(html text) in this new div?</p>

<pre><code>var div_obj = $(document.createElement("div")).attr({'class': 'test'}).css({'width' : size, 'height' : height, 'background' : bg});
</code></pre>

<p>I try:</p>

<pre><code>div_obj.innerHTML = "text";
</code></pre>

<p>But don't work.</p>
