EDITABLE CODE:
LiveDemo:jQuery - wrapInner() Method
Note: The method wrapInner() wraps contents , to include text nodes and elements of matched set.