1HTMLDocument.associateTextAndIKnapyuat(m3okdauHylTaeM)LrDeofceurmeenncte.associateTextAndInput(3kaya)
2
3
4
6 HTMLDocument::associateTextAndInput - Associates some text with a form
7 control
8
10 Void associateTextAndInput( ElementTree block, Int startpos, Int end‐
11 pos, ElementTree control )
12
14 block The element containing the text
15
16 startpos The character position of the first character
17
18 endpos The character position of the last character
19
20 control The form control
21
23 Associates text with a form control. In some common graphical browsers,
24 clicking on the text will then focus or activate the form control,
25 which is especially useful for checkboxes and radio buttons. The
26 related functions below all add form controls which are already associ‐
27 ated with their label texts, and so this function is not needed for
28 these.
29
31 Kaya standard library by Edwin Brady, Chris Morris and others
32 (kaya@kayalang.org). For further information see http://kayalang.org/
33
35 The Kaya standard library is free software; you can redistribute it
36 and/or modify it under the terms of the GNU Lesser General Public
37 License (version 2.1 or any later version) as published by the Free
38 Software Foundation.
39
41 HTMLDocument.addLabelledInput (3kaya)
42 HTMLDocument.addLabelledSelect (3kaya)
43 HTMLDocument.addLabelledTextarea (3kaya)
44 HTMLDocument.addOptionList (3kaya)
45
46
47
48Kaya DecemHbTeMrLD2o0c1u0ment.associateTextAndInput(3kaya)