0

I am having issues with the bind function in Opera.

Case:

jQuery: v1.8
Opera: v12.13 Build: 1734
OS: Windows 7 64bit

I am binding the document to monitor changes in DOM Subtree.

jQuery(document).bind('DOMSubtreeModified', function() {
    console.log("DOMSubtreeModified");
});

Working fine on Chrome/FireFox/IE8+. But in Opera the callback is never triggered. I have been looking in the forums but did not see any reported issue. Any insight as to why this might be happening?

Bojangles
  • 99,427
  • 50
  • 170
  • 208
Jehanzeb.Malik
  • 3,332
  • 4
  • 25
  • 41

1 Answers1

3

It is not supported by Opera:

http://my.opera.com/community/forums/topic.dml?id=154019 and http://help.dottoro.com/ljrmcldi.php

Here you may find some info about how to check if DOM is modified without that event.

Community
  • 1
  • 1
Viktor S.
  • 12,736
  • 1
  • 27
  • 52
  • I have been to that link earlier and seeing the authoring date of Aug, 2006 I thought that it might be fixed by now. But the SO link was very helpful. I think I will go with that. Thanks. – Jehanzeb.Malik Feb 04 '13 at 14:06
  • Perhaps I should add that listening for DOM mutation events may harm performance and the relevant W3C working groups are trying to find a better way to do this and deprecate DOM mutation events for this reason - it's hard or impossible to make a good and performant implementation. – hallvors Feb 07 '13 at 10:13