EDITABLE CODE:
LiveDemo:jQuery - appendTo() Method
Note: The method appendTo() is similar to append() but with the relationship inversed.