Link to home
Start Free TrialLog in
Avatar of Jonathan Greenberg
Jonathan GreenbergFlag for United States of America

asked on

can iframe be selected from parent window url?

Is there any way for a single url to select both a parent page and the src value (url) of a page to appear within iframe tags in the parent page?
ASKER CERTIFIED SOLUTION
Avatar of Michel Plungjan
Michel Plungjan
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jonathan Greenberg

ASKER

Thanks.

I'm assuming your code is index.html in your example. I've copied and pasted your code, and I've reproduced your exact example, but all I get is the parent page with an empty iframe.
No, I'm sorry, my mistake! It works perfectly. Thanks!
Thanks for the great answer.