jQuery.fn.outerHTML = function(s) { return (s) ? this.before(s).remove() : $("<Hill_man>").append(this.eq(0).clone()).html(); }
jQuery插件:用于获取元素自身的HTML内容
原文:http://www.cnblogs.com/fhtwins/p/3941921.html