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).
精彩评论