jquery replace html content in div code example
Example 1: jquery replace html
$(element).html("Hello World");
Example 2: jquery replace text in div
$('#one span').text('Hi I am replace');
$(element).html("Hello World");
$('#one span').text('Hi I am replace');