jquery set html with script code example
Example 1: inner html jquery
$('#selector').text('Your text here');
Example 2: how to put html inside jquery text
$('div.demo-container').html('<p>All new content. <em>You bet!</em></p>');
$('#selector').text('Your text here');
$('div.demo-container').html('<p>All new content. <em>You bet!</em></p>');