Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Answer: How to escape frames on form submission

by voyager (Friar)
on Jul 04, 2001 at 02:50 UTC ( #93713=categorized answer: print w/replies, xml ) Need Help??

Q&A > CGI programming > How to escape frames on form submission - Answer contributed by voyager

If the submisstion was with a link <A> tag then you could set target="_top". Don't know how to do that with a form submission.

However, on the returned html you can accomplish this with some javascript. The exact syntax escapes me but it's something like

if self.src != top.src top.src = self.src;
But this in the body onload() method.

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2020-09-24 05:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (132 votes). Check out past polls.

    Notices?