jquery add to innerhtml code example
Example 1: jquery append
$("p").append(" <b>Appended text</b>.");
Example 2: inner html jquery
$('#selector').text('Your text here');
Example 3: innerhtml jquery
var itemtoReplaceContentOf = $('#regTitle');
itemtoReplaceContentOf.html('');
newcontent.appendTo(itemtoReplaceContentOf);