开发者

Event.observe DOMNodeRemoved does not work in IE

I'm using this :

Event.observe('${action.extUnenrolledListId}Lis开发者_开发技巧t', 'DOMNodeRemoved', function(event) {

}

It works in Firefox, but in IE8 the DOMNodeRemoved event isn't recognized. Any ideas about an alternative?


No. IE up to and including version 8 does not support any of the DOM mutation events. There's no equivalent.

UPDATE

From @4esn0k's comment, it seems that it is possible to simulate DOMNodeInserted in IE using behaviors (untested).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜