jquery change text based on id code example Example: jquery set text of h1 $('#id').text("New Text");