Re: posting variables to parent frame

From: Date: Tue, 17 Apr 2007 22:18:53 +0000
Subject: Re: posting variables to parent frame
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-253146@lists.php.net to get a copy of this message
On Tue, April 17, 2007 1:31 pm, Hans wrote: > I'm trying to post variables to a parent frame, I'm working from a > page that > is in an iFrame. However, I don't know how to accomplish this. I tried > target='top' to include in the form tag (<form action=<?=$formurl?> > target="top"....>) but this didn't succeed. > > Can you please help me? Whatever is sitting in your browser right now is irrelevant to the POST that you are about to send to some URL. Choose the right URL to send the POST data to, and get the URL as the "action" attribute. NOTE: You *can* play games with JavaScript to collect/collate/cross data from frame to frame, if you are careful about the Security of JS rules... But that's not even remotely a PHP question, so I'll shut up now. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

« previous php.general (#253146) next »