add text as html in jq code example
Example 1: change p text jqwuery
.text("new text")
Example 2: how to put html inside jquery text
$('div.demo-container').html('<p>All new content. <em>You bet!</em></p>');
.text("new text")
$('div.demo-container').html('<p>All new content. <em>You bet!</em></p>');