Userscript, identify when elements are added to the page (via events?)

Posted by rublind on Stack Overflow See other posts from Stack Overflow or by rublind
Published on 2010-05-22T18:12:40Z Indexed on 2010/05/22 18:20 UTC
Read the original article Hit count: 151

Filed under:
|
|
|

Right now, I am working with a page that is automatically updated and I'm using setInterval to check for new elements. I'd like to do this with events but I don't know how to tell if an element has been added to the page via an event.

Is this possible?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery