Hi,
I'm wracking my brain on this one.
After a html document loads in a browser,I want to be able to monitor
the page incase any content on it changes for any reason.
Is there a Javascript function with which I can track 'what has
changed' on the webpage .
This should be irrespective of the type of content on the html page
I have two example for you to ponder on:
Ex1:
Say in an html document there are two select boxes s1 and s2. The items list in s2 depends on selctions in s1 (page is not
refreshed..ie.. s2 is loaded through Ajax or sumthing)
So after the html page loads I need to get a notification whenever s2
is populated...
Ex2:
Say ,in a html page,there's a link,Onclicking which a light pop-up
div is created with some text. How can I capture the content of this dynamic pop-up?
In all this discussion,I'm not taking into account any particular
format of html...the html content can be anything.......I just need
to keep tracking if any content chages after the page loads...
Ideally I need to achieve this using javascript (client side
scripting) How can I achieve this??