title: return iframe src value in alertbox while it getting attempt to load using javascript
body: <p><strong>but it return empty alert box.. pls anyone help me.</strong>
  I need alertbox with detail of iframe src(address location, <a href="http://www.google.com" rel="nofollow">http://www.google.com</a>) value.</p>
  
  <pre><code>&lt;iframe width="700px" height="900px" name="ifrm" id="ifrm" onload="load()"&gt;&lt;/iframe&gt; 
  
  &lt;script type="text/javascript"&gt;
  function load()
  {
  var oIframe = document.getElementById("ifrm");
  
  var oDoc = oIframe.contentWindow || oIframe.contentDocument;
  
  if (oDoc.document) {
  
      oDoc = oDoc.document;
  }
  alert(oDoc.ifrm.href);
  }
  &lt;/script&gt;
  </code></pre>