In the right frame, I want anchor tags with variables.. and in the left frame, I want to grab the values of the parameters from those tags. How do I use the CGI object to grad those?
This is my code so far...
=======================================================
$qry = new CGI;
print $qry->header();
$frame_name = $qry->path_info();
$frame_name =~ s!^/!!;
if (!$frame_name)
{
print_frameset();
exit 0;
}
print $qry->start_html("Part Inquiry"
print_query() if $frame_name eq 'left';
print_response() if $frame_name eq 'right';
print_links() if $frame_name eq 'left';
print $qry->end_html();
sub print_frameset
{
my $script = $qry->url();
print $qry->title('Part Search'),
$qry->frameset({-cols=>'30%,70%'},
$qry->frame({-name=>'left',-src=>"$script/left"}),
$qry->frame({-name=>'right',-src=>"$script/right"})
);
exit 0;
}
===================================================
How do I write the anchor tags using the CGI method so that I can pick up the values in the left frame???
Thanks,
Greg
This is my code so far...
=======================================================
$qry = new CGI;
print $qry->header();
$frame_name = $qry->path_info();
$frame_name =~ s!^/!!;
if (!$frame_name)
{
print_frameset();
exit 0;
}
print $qry->start_html("Part Inquiry"
print_query() if $frame_name eq 'left';
print_response() if $frame_name eq 'right';
print_links() if $frame_name eq 'left';
print $qry->end_html();
sub print_frameset
{
my $script = $qry->url();
print $qry->title('Part Search'),
$qry->frameset({-cols=>'30%,70%'},
$qry->frame({-name=>'left',-src=>"$script/left"}),
$qry->frame({-name=>'right',-src=>"$script/right"})
);
exit 0;
}
===================================================
How do I write the anchor tags using the CGI method so that I can pick up the values in the left frame???
Thanks,
Greg