Help for this page

Select Code to Download


  1. or download this
    <input type='hidden' id='yyy' value='Hello Y'>
    <input type='hidden' id='xxx' value='Hello X'>
    <button id="test" type="button" onClick="test(['xxx','yyy'], ['out1', 
    +'out2'] );">TEST</button><P>
    Div1: <div id='out1'>.</div><P>
    Div2: <div id='out2'>.</div><P>
    
  2. or download this
    ### link js func to perl func
    my $cgi = new CGI();
    ...
    {
      return( @_ );
    }
    
  3. or download this
    ### Inside main script
    my $urlFunc = '/html/cgi/test.pl';
    ...
    my $q = CGI->new;
    print $q->header;
    print ($q->param('xxx'), $q->param('yyy'));