title: Detect iframe src change using jquery
body: <p>Lets say an <code>&lt;iframe&gt;</code> is initially loaded pointing to a certain src. The user clicks on a hyperlink and the contents of the iframe changes.</p>
  
  <p>I would like to detect that new src of the iframe in full.</p>
  
  <p>Unfortunately it appears to only provide the original src when a change is detected. It detects the change, just not what it changed to.</p>
  
  <p>Perhaps it is a browser-specific issue. I am using chrome.</p>
  
  <pre><code>$(function(){
      $('iframe').load(function() {
          var src = $("iframe").attr('src')
          alert(src);
      });
  });
  </code></pre>
  
  <p><a href="http://jsfiddle.net/vud8S/7/" rel="nofollow">http://jsfiddle.net/vud8S/7/</a></p>