jquery replace html element code example
Example 1: jquery replace html
$(element).html("Hello World");
Example 2: inner html jquery
$('#selector').text('Your text here');
$(element).html("Hello World");
$('#selector').text('Your text here');