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