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