js元素remove

    Element.prototype.remove = function() {
        this.parentElement.removeChild(this);
    };

posted @ 2014-06-26 18:39  米姐  阅读(273)  评论(0编辑  收藏  举报