jQuery outerHTML demo page
Item 1
Item 2
Item 3
Item 4
Print
Replace
Read original blog post