Retrieve html from textbox and display in popup
<p>I'm retrieving a string from a textbox which will contain html eg <code>&lt;html&gt;&lt;head&gt;&lt;body&gt;&lt;div&gt;&lt;/div&gt;&lt;/body&gt;&lt;/head&gt;&lt;/html&gt;</code>.</p>

<p>Basically i have got the content from the textbox, but cant get the popup to display like a html page.</p>

<p>In my jquery code i have </p>

<pre><code>          var html = document.getElementById('&lt;%=txtHtmlBody.ClientID%&gt;').value;
          $(html).dialog();
</code></pre>

<p>At the moment the content looks like it is squashed into a small box, with a transparent background.
How can i get this to display like a html page in a popup?, any help is appreciated 
Thanks in advance</p>
