Link to home
Start Free TrialLog in
Avatar of designersx
designersx

asked on

iframe problem,

i have taken 2 iframes .in 1st iframe, i have given the src 2.php in which i have written india , and now on the click of india , new window opwns but i want to open in the second iframe

google chrome is responding fine but in mozilla, new window is opening?
what can be the reason?

please see the code.
1.php
 
<iframe id="datamain" src="2.php" width=130 height=250 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no></iframe>
 
<iframe id="display" src="4.php" width=330 height=400 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0scrolling=no></iframe>
 
2.php
 
<a target="display" href="3.php">India</a>
 
3.php
 
3
 
4.php
 
4

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of alien109
alien109
Flag of United States of America 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 designersx
designersx

ASKER

thanks buddy