Can one detect document content changed?

B

Ben Rush

I'm sure there is something out there for this, but I want to detect
if document content has been changed for whatever reason.

Say someone creates a javascript function which, say, changes some
content of the document. I want to be able to intercept this event and
say "yes" or "no" to it, or, at least be able to be notified that a
change is about to happen or has just happened.

The "content" has to be anything about the page - basically if the
document content changes I want to know about it.

Does such a thing exist?

Thanks in advance,
Ben
 
B

Brian Genisio

Ben said:
I'm sure there is something out there for this, but I want to detect
if document content has been changed for whatever reason.

Say someone creates a javascript function which, say, changes some
content of the document. I want to be able to intercept this event and
say "yes" or "no" to it, or, at least be able to be notified that a
change is about to happen or has just happened.

The "content" has to be anything about the page - basically if the
document content changes I want to know about it.

Does such a thing exist?

Thanks in advance,
Ben


Could you give an example for what you are trying to do? If you have
control of the page, don't you know what changes are being made? Even
if it is done by Javascript?

The situation seems confusing, so an actual example would be helpful.

Thanks :)
Brian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,046
Latest member
Gavizuho

Latest Threads

Top