How can I get the value of an attribute inside an iframe from parent in Javascript?

Viewed 50868

How can I pass attribute value from iframe to parent?

I.e. iframe (frame1) has <a id="a1" href="http://www.infinitybusiness.net">. How can I get value of href in my parent page?

3 Answers
Related