JQuery ganti bagian dalam
$("#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
.text() or .html()
$("button").click(function(){
$("p").html("Hello <b>world</b>!");
});
$(element).html("Hello World");
$('#selector').text('Your text here');
var itemtoReplaceContentOf = $('#regTitle');
itemtoReplaceContentOf.html('');
newcontent.appendTo(itemtoReplaceContentOf);