Scroll to navigation

CGI.selBox(3kaya) Kaya module reference CGI.selBox(3kaya)

NAME

CGI::selBox - Create a selection box.

SYNOPSIS

HTML selBox( String name, Int len, [String] opts, String def="", String id="", String extra="" )

ARGUMENTS

name The name of the selector
len The size of the selector (use 0 for a drop-down selection box)
opts The options for the selector
def The default option

DESCRIPTION

Returns the HTML for a selection box. Note that none of the input values are escaped, so you must ensure that name contains no '"' characters, and opts contains no values containing '<' characters.

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.
August 2014 Kaya