How to put jQuery Dialog popup div into the jQuery code?
<p>I have a very simple message to display in one jQuery popup and I just want to generate it without adding extra divs into my HTML.</p>

<p>What I'd like to do is just open a dialog box with a message and thats it.</p>

<p>Here is something like that I want:</p>

<pre><code>$("&lt;div&gt;Hello sir&lt;/div&gt;").dialog("open");
</code></pre>

<p>But that doesn't work.  Should it? It seems like that should just open a simple dialog box, shouldn't it?</p>

<p>Thanks!!</p>
