Jump to content

Refresh Iframe In Opener From Popup


FrankBro
 Share

Recommended Posts

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.

Edited by FrankBro
Link to comment
Share on other sites

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...