bloggygoodness

I’ve seen a lot of work-arounds for doing outerHTML() in jQuery. outerHTML() is not part of the spec and therefor is not supported across all browsers. Browsers like Firefox do not support outerHTML. Here is a cross-browser solution that you can use in a jQuery-style kind-of way.