jquery function to replace the content of a div code example Example: jqueryreplace content of div $('#content-container').html(linkText);