title: Catch iframe reload with jQuery
body: <p>I have an iframe loaded dynamically with jQuery like this</p>
  
  <pre><code>jQuery('&lt;iframe id="myFrame" src="iframesrc.php"&gt;&lt;/iframe&gt;').load(function(){
      // do stuff when loaded
  }).prependTo("#myDiv");
  </code></pre>
  
  <p>And I want to catch the reload event every time the inner frame is reloaded. I tried this:</p>
  
  <pre><code>jQuery('body').on('load', '#myDiv', function() {
      alert('iframe loaded');
  });
  </code></pre>
  
  <p>But I'm not getting any response, both on the initial load and when following links inside the iframe. What am I doing wrong?</p>