replace h1 value javascript jaquery code example Example: jquery set text of h1 $('#id').text("New Text");