logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       G. Richter (richter at embperl dot org), A. Beckert (beckert@ecos.de)

Description

       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.

   PARAMETERtype

       Needs to be set to 'scriptcode'.

       name

       optional

       scripttype

       Type of script code. Default: text/javascript

       code

       The actual script code.

Name

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

See Also

perl(1), Embperl, Embperl::Form

perl v5.34.0                                       2022-02-06                     Form::Control::scriptcode(3pm)

Synopsis

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

See Also