jQuery插件:用于获取元素自身的HTML内容

jQuery.fn.outerHTML = function(s) {
              return (s) ? this.before(s).remove() : $("<Hill_man>").append(this.eq(0).clone()).html();
        }
原文地址:https://www.cnblogs.com/fhtwins/p/3941921.html