.\" This man page is automatically generated using .\" kayadoc2man from the Kaya development tools and the -xmldocs compile .\" option. Editing it directly is not encouraged. .\" It is under the same license as the source .k file that it was .\" generated from. .TH "HTMLDocument.associateTextAndInput" "3kaya" "August 2014" "Kaya" "Kaya module reference" .SH "NAME" HTMLDocument::associateTextAndInput \- Associates some text with a form control .SH "SYNOPSIS" .B Void associateTextAndInput( \fIElementTree block, Int startpos, Int endpos, ElementTree control\fP .B ")" .SH "ARGUMENTS" .PP .B "block" The element containing the text .PP .B "startpos" The character position of the first character .PP .B "endpos" The character position of the last character .PP .B "control" The form control .SH "DESCRIPTION" .PP Associates text with a form control. In some common graphical browsers, clicking on the text will then focus or activate the form control, which is especially useful for checkboxes and radio buttons. The related functions below all add form controls which are already associated with their label texts, and so this function is not needed for these. .SH "AUTHORS" Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/ .SH 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. .SH "RELATED" .PD 0 .PP .B "HTMLDocument.addLabelledInput"(3kaya) .PP .B "HTMLDocument.addLabelledSelect"(3kaya) .PP .B "HTMLDocument.addLabelledTextarea"(3kaya) .PP .B "HTMLDocument.addOptionList"(3kaya) .PD 0.4v