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