Provided by: kaya_0.4.4-6ubuntu3_amd64 bug

NAME

       HTMLDocument::associateTextAndInput - Associates some text with a form control

SYNOPSIS

       Void  associateTextAndInput(  ElementTree  block,  Int  startpos,  Int endpos, ElementTree
       control )

ARGUMENTS

       block The element containing the text

       startpos The character position of the first character

       endpos The character position of the last character

       control The form control

DESCRIPTION

       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.

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.

RELATED

       HTMLDocument.addLabelledInput (3kaya)
       HTMLDocument.addLabelledSelect (3kaya)
       HTMLDocument.addLabelledTextarea (3kaya)
       HTMLDocument.addOptionList (3kaya)