Can one detect document content changed?

Discussion in 'Javascript' started by Ben Rush, Feb 11, 2004.

  1. Ben Rush

    Ben Rush Guest

    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
     
    Ben Rush, Feb 11, 2004
    #1
    1. Advertising

  2. Ben Rush wrote:

    > 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
     
    Brian Genisio, Feb 12, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    1
    Views:
    734
    Rosanne
    Oct 11, 2005
  2. Tom Anderson
    Replies:
    8
    Views:
    413
    Gerrit Holl
    Sep 15, 2005
  3. =?Utf-8?B?RGFuIFNpa29yc2t5?=

    HOWTO: Detect FormView EditItemTemplate TextBox Value Changed

    =?Utf-8?B?RGFuIFNpa29yc2t5?=, Oct 4, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    701
    =?Utf-8?B?RGFuIFNpa29yc2t5?=
    Oct 4, 2006
  4. Dave L
    Replies:
    3
    Views:
    3,364
    Göran Andersson
    Mar 4, 2010
  5. mxbrunet
    Replies:
    1
    Views:
    242
Loading...

Share This Page