Help for this page

Select Code to Download


  1. or download this
    <form name="csvform" action="/myapp.pl/downloadcsv" method="POST">
    <input type="submit" name="csv" id="csv" value="Generate CSV File" onc
    +lick="return SubmitTheCSVForm();" />
    </form>
    
  2. or download this
    var submitted = false;
    function SubmitTheCSVForm() {
    ...
      submitted = true;
      document.csvform.submit();
    }
    
  3. or download this
    sub downloadcsv : Runmode {
      my $self = shift;
    ...
    
    }
    
  4. or download this
    sub csv_status : Runmode {
      my $self = shift;
    ...
      return $template->output;
    }
    
  5. or download this
    
    <TMPL_IF STILL_RUNNING>
    ...
    <h3> Job complete!</h3>
    </TMPL_IF>