FrankBro Posted August 24, 2009 Share Posted August 24, 2009 So let's say i have a page Main.php, in which in load an iframe Iframe.php with the id iframe. I need to reload the iframe by a popup opened by Main.php, i though about this: (in popup.php)<input type=button onclick="window.opener.document.getElementById('iframe' ).src='Iframe.php';"/>It's not working tho, anyone can figure what is wrong ?Thank you. Link to comment Share on other sites More sharing options...
Ingolme Posted August 24, 2009 Share Posted August 24, 2009 Does your <iframe> element have an ID attribute with 'iframe' as the value? Link to comment Share on other sites More sharing options...
FrankBro Posted August 24, 2009 Author Share Posted August 24, 2009 hey, you again haha, thx for the fast reply, but i got it sorted already i think.The thing is, im helping someone with his programs, and put an iframe affected by a get in an iframe also affected by a get, so i cant refresh anything without losing data.Thx tho Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.