DOMNodeInserted in the IE
问题 Why doesn't this code work in IE? Please help fix it: jQuery('body').live('DOMNodeInserted',function(e){ var parent = jQuery(e.target).parent(); parent.find("a").css('color','#AA62C6'); parent.find('a').removeAttr('onmousedown'); }); 回答1: This event is not supported in IE. This is added to IE9 but seems to be buggy in the implementation. A solution will be to handle the dom manipulation at the base(The method which is changing the dom) level. function update(){ //do some dom manipulation $