Create HTML DOM in jQuery
<p>I have an HTML page, where I have got the page and the title. Now I stored the page content and page title in the jQuery variable:</p>

<pre><code>$content = jQuery('div p').find ('content').text();
$title = jQuery('div').find ('title').text();
</code></pre>

<p>Now I want to create an HTML DOM like:</p>

<pre><code>&lt;div class="enter-content"&gt;
  &lt;h4&gt;$title&lt;/h4&gt;
  &lt;p&gt;$content&lt;/p&gt;
&lt;/div&gt;
</code></pre>

<p>Then I want to store this HTML DOM in a variable.</p>
