A parent window contain two iframes. Lets say "iframe1" and "iframe2".
When I click on a button in iframe1, corresponding HTML should be loaded in iframe2.
parent.document.getElementsByName('iframe2').src = "http://localhost/test.html";
Please suggest any alternate solutions.