Creates a


lcHtml = HtmlLabel("Name:","txtName",[class="leftlabel"])

which generates:

<label for="txtName" id="txtName_label" class="leftlabel">Name:</label>


<>lcText<> The text content of the label

<>lcFor<> Optional: the input control that this label is for. Leave blank to skip

<>lcAttributes<> Any additional attributes to add to the label control

<>lcId<> Optional - ID set for the control. If not specified and lcFor is set the Id will be lcFor + "_label". If both are empty no id is set.

See also:

Class wwHtmlHelpers

© West Wind Technologies, 1996-2019 • Updated: 10/01/15
Comment or report problem with topic