Embperl::Form::Control::scriptcode - A control to add script code to an Embperl Form


Embperl documentation  | view source Contained in the Embperl distribution.

Index


NAME

Top

Embperl::Form::Control::scriptcode - A control to add script code to an Embperl Form

SYNOPSIS

Top

  { 
  type   => 'scriptcode',
  code   => 'function onEvent { .... }',
  }

DESCRIPTION

Top

Used to create a script code blockinside an Embperl Form. The code block is added to the end of the form. See Embperl::Form on how to specify parameters.

PARAMETER

type

Needs to be set to 'scriptcode'.

name

optional

scripttype

Type of script code. Default: text/javascript

code

The actual script code.

Author

Top

G. Richter (richter@dev.ecos.de), A. Beckert (beckert@ecos.de)

See Also

Top

perl(1), Embperl, Embperl::Form


Embperl documentation  | view source Contained in the Embperl distribution.