Re: Detecting DOM changes
- From: Nate <nmoinvaziri@xxxxxxxxx>
- Date: Mon, 13 Aug 2007 18:35:13 -0000
On Aug 1, 9:53 am, clay.stev...@xxxxxxxxx wrote:
On Jul 9, 10:10 pm, nmoinvaz...@xxxxxxxxx wrote:This would mean you would have to sink every element's interface to
Are there any events or interfaces that would allow me to see the
changes that are taking place in the DOM before they actually occur.
For example, a javascript might create a dynamic element on the page
at any given time while the page is being loaded or even after it has
fired it's final document complete event. I want to know if there is
any function that would allow me to make modifications or elements
before they are added OR detect when the DOM has been changed.
I've been looking into the same thing for a while now, and after
stepping through a few options, it appears that the onpropertychange
event fires on an element when its innerHTML property changes, which
happens when new elements have been added or removed inside it.
catch all the possible
onpropertychange events that occur correct?
From what I can tell, though, this will only happen *after* the
elements have been added or removed, not before (which is causing us
some trouble when it comes to freeing pointers).
I hope that helps!
cstevens
.
- References:
- Re: Detecting DOM changes
- From: clay . stevens
- Re: Detecting DOM changes
- Prev by Date: Web browser control hangs
- Next by Date: Re: Create an EMF from HTML in webbrowser ctl VB
- Previous by thread: Re: Detecting DOM changes
- Next by thread: Access 2002 and WebBrowser
- Index(es):
Relevant Pages
|
|