Open new window from iFrame

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
registereduser
Forum Newbie
Posts: 21
Joined: Wed Nov 04, 2009 2:09 pm

Open new window from iFrame

Post by registereduser »

I have a PARENT HTML page. Within it, there is a CHILD iFrame. When click button in a form of CHILD, a PHP file is called. As a result, PHP file will generate a NEW window. What I want is the NEW window is to replace the PARENT. Of course, the CHILD disappeared too.

What I have achieved is the NEW window opened inside of iFrame. How do I do it to replace the PARENT? Thanks.
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Re: Open new window from iFrame

Post by daedalus__ »

registereduser
Forum Newbie
Posts: 21
Joined: Wed Nov 04, 2009 2:09 pm

Re: Open new window from iFrame

Post by registereduser »

Thanks, daedalus__.
Post Reply