This documentation is archived and is not being maintained.
for attribute | htmlFor property
Sets or retrieves the object to which the given label object is assigned.
Syntax
| HTML | <element for="p" ... > |
| JavaScript | p = object.htmlFor |
Property values
Type: String
the identifier of the element to which the label element is assigned.
See also
-
label