get the last elemnt in a class after append code example Example: append after element jquery $("p").after(" <b>You can write your Text Here </b>.");