outerHTML

解决Firefox下不支持outerHTML问题代码分享

jerry HTML5
代码很简单,如下: var pro = window.HTMLElement.prototype;pro.__defineGetter__("outerHTML", function(){ var str = "<" + this.tagName; var a = ...
阅读全文