I have a main.php file that contains two iframes: test1 and test2
<iframe id="test1" name="test1" src="test1.php" height="300" width="200"></iframe> 
<iframe id="test2" name="test2" src="test2.php"></iframe>
The #test1 contains  display: none;
I would like to display the content of test1.php when a button at test2.php is clicked. I have tried a number of options and referred to previous posts related to this issue  but couldn't load test1.php. How can I accomplish this?
 
     
     
     
    