title: document ready after dom manipulation
body: <p>I'm doing an application with <code>Phonegap</code> and I'm using a self-built slide transition to change the pages. 
  It works like this:</p>
  
  <p>Every page is a <code>div</code> with 100% height and width, so if I change the Page, I set the next <code>div</code> right to the currently active and slide both to the left side. </p>
  
  <p>Now to the Problem: the sliding works fine, but it's executed before the content of the right <code>div</code> is completely loaded. So the right <code>div</code> slides in empty, and only after a few hundred miliseconds the content will appear.</p>
  
  <p>I tried it with <code>document.ready</code>, but as I've read this event is only executed the first time the <code>DOM</code> is loaded.</p>
  
  <p>Does anybody know how I can wait for the <code>DOM</code> to be completely rendered again after I've manipulated the <code>DOM</code> with <code>Javascript</code>?</p>