inner html jquery

JavaScript
var itemtoReplaceContentOf = $('#regTitle');
itemtoReplaceContentOf.html('');
newcontent.appendTo(itemtoReplaceContentOf);$('#selector').text('Your text here');
Source

Also in JavaScript: