set text in jquery
<p>If I want to set the text of a <code>&lt;div id="error"&gt;&lt;/div&gt;</code> to "Test message here", do I do:</p>

<pre><code> $('&lt;div id="error"&gt;').text('Test message here');
</code></pre>

<p>I tried this and it's not working.  Thoughts?</p>
