Use the -onLoad parameter for start_html(), eg.
start_html(-onLoad => "javascript:JSname();");
Check out the docs for more details.
In reply to Re: Using CGI's start_html to add attributes to <body>
by kejohm
in thread Using CGI's start_html to add attributes to <body>
by cyffka
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |