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:
$content = jQuery('div p').find ('content').text();
$title = jQuery('div').find ('title').text();
Now I want to create an HTML DOM like:
<div class="enter-content">
<h4>$title</h4>
<p>$content</p>
</div>
Then I want to store this HTML DOM in a variable.
1 Answer