EDITABLE CODE:
LiveDemo:jQuery - append() Method using function
Note: The text string is displayed after the element using a function.