Kaya 0.5.3 reference for HTMLDocument::associateTextAndInput

List of functions and data types in HTMLDocument

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

Arguments

Usage

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.

Related

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya