javascript+jquery replace text by html object code example
Example 1: jquery replace html
$(element).html("Hello World");
Example 2: jqueryreplace content of div
$('#content-container').html(linkText);
$(element).html("Hello World");
$('#content-container').html(linkText);