in reply to Calling a js function from within a cgi script to open a window
Above
addprint $query->start_html(-title => 'Selection ', -BGCOLOR=>'lavender', -script=>$JSCRIPT);
if ($query->param('embedvar')) { $JSCRIPT .= 'windo("no_win");'; }
Untested.
|
|---|