jquery replace div content code example
Example 1: jqueryreplace content of div
$('#content-container').html(linkText);
Example 2: jquery replace text in div
$('#one span').text('Hi I am replace');
$('#content-container').html(linkText);
$('#one span').text('Hi I am replace');