Provided by: kaya_0.4.4-6ubuntu3_amd64
HTMLDocument::associateTextAndInput - Associates some text with a form control
Void associateTextAndInput( ElementTree block, Int startpos, Int endpos, ElementTree control )
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
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.
Kaya standard library by Edwin Brady, Chris Morris and others (firstname.lastname@example.org). 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.
HTMLDocument.addLabelledInput (3kaya) HTMLDocument.addLabelledSelect (3kaya) HTMLDocument.addLabelledTextarea (3kaya) HTMLDocument.addOptionList (3kaya)