title: Ajax Iframes -> Check if busy?
body: <p>This is a question regarding Ajax Iframes.</p>
  
  <p>I have a function to open an Iframe, and set its source, however at some points I would need to open multiple Iframes, and set their sources accordingly. The second iframe should only open if the first one has not finished loading.</p>
  
  <p>Psudocode:</p>
  
  <p>// at some point</p>
  
  <pre><code>x = iframe;
  x.src = 'dothiscode.php'
  </code></pre>
  
  <p>// at some later point</p>
  
  <pre><code>if (x.src = not finished loading)
    y = new iframe;
    y.src = 'domorecode.php'
  else
    x.src = 'domorecode.php'
  </code></pre>
  
  <hr>
  
  <p>Thank you for your help!</p>