how to append a elements within functions code example Example: jquery append $("p").append(" <b>Appended text</b>.");