How to detect DOM changes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pudupa
    New Member
    • Apr 2010
    • 1

    How to detect DOM changes

    I'd want to be able to detect changes to the XHTML content inside of the document shown in an iFrame, in terms of a DOM event.

    I heard there is a DOMChangeEvent as part of W3C DOM specifications, but could not find documentation for this event in the specs or in any extensions from the specs.

    Please let me know, if anyone can provide a simple example, that would be great.

    - Prakash.
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    there is the change event type, which is triggered by several form controls, but you could create a change event yourself (DocumentEvent.c reateEvent("cha nge");) and dispatch it when changing the DOM manually.

    Comment

    Working...