Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 wandering the Monastery: (6)
As of 2015-07-05 18:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls