title: Do something AFTER the page has loaded completely
body: <p>I'm using some embed codes that insert HTML to the page dynamically and since I have to modify that dynamically inserted HTML, I want a jquery function to wait until the page has loaded, I tried <code>delay</code> but it doesnt seem to work.</p>
  
  <p>So for example, the dynamically inserted HTMl has an element <code>div#abc</code></p>
  
  <p>and I have this jquery:</p>
  
  <pre><code>if ( $('#abc')[0] ) { 
    alert("yes");
  }
  </code></pre>
  
  <p>the alert doesn't show up.</p>
  
  <p>I'd appreciate any help</p>
  
  <p>Thanks</p>