jQuery remplacer innerhtml
$("#myID").html("<div>New inner html</div>"); //replace element innerHTML in jQuery
Grepper
$("#myID").html("<div>New inner html</div>"); //replace element innerHTML in jQuery
$("#element").html("Hello World");
var itemtoReplaceContentOf = $('#regTitle');
itemtoReplaceContentOf.html('');
newcontent.appendTo(itemtoReplaceContentOf);