how to update div with jquery object code example
Example 1: jquery replace html
$(element).html("Hello World");
Example 2: innerhtml jquery
var itemtoReplaceContentOf = $('#regTitle');
itemtoReplaceContentOf.html('');
newcontent.appendTo(itemtoReplaceContentOf);