#!/usr/bin/perl -w use strict; use diagnostics; use Data::Dumper; use CGI qw/:standard :html3/; use CGI::Carp qw( fatalsToBrowser ); my $JSCRIPT=< "Some Title", -script=> $JSCRIPT ); # some portions of code sub generate_form { print start_multipart_form(), strong('Basic Programs To Choose: '), br checkbox_group( -name => 'progname', -values => [ '2 Fastest', 'MEME', 'MITRA', 'SPACE', ], -rows => '2', -columns => '6', -defaults => [ '2 Fastest' ], # modified as advised by ikegami, # but still not functioning -onClick=>"checkBoxClick()", ), p, } # the rest of codes