setting innerhtml jquery code example
Example 1: jquery replace html
$(element).html("Hello World");
Example 2: inner html jquery
$('#selector').text('Your text here');
Example 3: innerhtml jquery
var itemtoReplaceContentOf = $('#regTitle');
itemtoReplaceContentOf.html('');
newcontent.appendTo(itemtoReplaceContentOf);