Get Element InnerHtml JQuery
.text() or .html()
Kamran Taghaddos
.text() or .html()
var itemtoReplaceContentOf = $('#regTitle');
itemtoReplaceContentOf.html('');
newcontent.appendTo(itemtoReplaceContentOf);