innerhtml jquery
snippet in html

jquery replace innerhtml

user7642

$("#myID").html("<div>New inner html</div>"); //replace element innerHTML in jQuery

jquery replace html

user3804

$(element).html("Hello World");

inner html jquery

user2577

$('#selector').text('Your text here');

jquery set html of element

user2408

$("button").click(function(){
  $("p").html("Hello <b>world</b>!");
});

innerhtml jquery

user2649

var itemtoReplaceContentOf = $('#regTitle');
itemtoReplaceContentOf.html('');
newcontent.appendTo(itemtoReplaceContentOf);