1HTMLDocument.SelectOption(3kayKaa)ya module refereHnTcMeLDocument.SelectOption(3kaya)
2
3
4
6 HTMLDocument::SelectOption - An option for selection
7
9 HTMLDocument::SelectOption< >
10
11
12 = SelectOption(String label,String value,Bool chosen)
13
15 An option for selection. These can be used to make the <option> ele‐
16 ments for a <select> or to describe a checkbox or radio button. The
17 value field may be left blank, in which case the contents of the label
18 field will be used in its place.
19
20 The chosen field determines whether this option is initially selected
21 when the page loads. The behaviour when multiple options in a non-mul‐
22 tiple select or multiple radio buttons with the same name are marked as
23 initially chosen is undefined, and so you should avoid this in your
24 code.
25
27 Kaya standard library by Edwin Brady, Chris Morris and others
28 (kaya@kayalang.org). For further information see http://kayalang.org/
29
31 The Kaya standard library is free software; you can redistribute it
32 and/or modify it under the terms of the GNU Lesser General Public
33 License (version 2.1 or any later version) as published by the Free
34 Software Foundation.
35
37 HTMLDocument.addLabelledSelect (3kaya)
38 HTMLDocument.addLazySelect (3kaya)
39 HTMLDocument.addOption (3kaya)
40 HTMLDocument.addOptionList (3kaya)
41 HTMLDocument.addSelectElement (3kaya)
42
43
44
45Kaya December 2010HTMLDocument.SelectOption(3kaya)