Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Syntactic Confectionery Delight
 
PerlMonks  

Re: Perl + Frames + JavaScript

by tachyon (Chancellor)
on Jan 05, 2003 at 12:27 UTC ( #224404=note: print w/ replies, xml ) Need Help??


in reply to Perl + Frames + JavaScript

You don't need javascript to do this. A CGI can have its output targeted to a frame using the header you print like this:

use CGI; my $q = new CGI; print $q->header(-target=>'ResultsWindow'); # or roll your own header like this print "Window-Target: ResultsWindow Content-Type: text/html\n\n";

So all you need it a link to the script like

<a href="/cgi-bin/script.pl?target=SomeFrame&other=stuff">Click Here</ +a> # and in the script my $target = $q->param('target'); print $q->header(-target => $target );

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print


Comment on Re: Perl + Frames + JavaScript
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://224404]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2014-04-21 16:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (497 votes), past polls