I am looking for a way to detect if anything changes within a given DOM node. Is there an event or other technique that would do this?
Thanks!
I am looking for a way to detect if anything changes within a given DOM node. Is there an event or other technique that would do this?
Thanks!
You have something called DOM mutation events defined:
http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-eventgroupings-mutationevents
Currently this only works in Firefox, not on Internet Explorer.
As Praveen Angyan said Mutation events as not currently supported by IE.
What events do you want to catch? If onclick or onchange then try use event bubbling to catch an event. Please provide more information on what you want to do.