title: Determining if a HTML element has been added to the DOM dynamically
body: <p>Is there a way in Javascript or jQuery to find out when a HTML element has been added to the DOM dynamically, either through <code>jQuery.append()</code> or one of the native Javascript's node manipulators?  There are probably several different ways to add HTML elements to the page dynamically, so I'm not sure what event or events I should be listening on.</p>
  <p>The specific example is that that an anchor tag is being added to the page by a third-party Javascript code (that I cannot modify or easily glean).  I want to change the link's text.</p>
  <p>I am hoping there is something better than a <code>setTimeout()</code> loop on <code>$(SOME ELEMENT).length &gt; 0</code>.
  (part of which I saw in <a href="https://stackoverflow.com/questions/220188/how-can-i-determine-if-a-dynamically-created-dom-element-has-been-added-to-the-d">How can I determine if a dynamically-created DOM element has been added to the DOM?</a> but it's from 2008)</p>