jquery replace div by another code example Example: jqueryreplace content of div $('#content-container').html(linkText);