title: How can I get the value of an attribute inside an iframe from parent in Javascript?
body: <p>How can I pass attribute value from iframe to parent?</p>
  
  <p>I.e. iframe (frame1) has <code>&lt;a id="a1" href="http://www.infinitybusiness.net"&gt;</code>. How can I get value of <code>href</code> in my parent page?</p>