in reply to Using CGI's start_html to add attributes to <body>
Use the -onLoad parameter for start_html(), eg.
start_html(-onLoad => "javascript:JSname();");
Check out the docs for more details.
In Section
Seekers of Perl Wisdom
in reply to Using CGI's start_html to add attributes to <body>
Use the -onLoad parameter for start_html(), eg.
start_html(-onLoad => "javascript:JSname();");
Check out the docs for more details.