Create a selection box.
HTML selBox( String name, Int len, [String] opts, String def="", String id="", String extra="" )
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
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.
Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/
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.