js-监听元素DOMNodeInserted和DOMNodeRemoved

监听document元素:

$(document)
        .on('DOMNodeInserted', '.item-content .ajax-progress', function() {}) // 插入(DOMNodeInserted)
        .on('DOMNodeRemoved', '#edit-field-qc-publisher-button + .ajax-progress', function() {}) //删除(DOMNodeRemoved)
};