all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize
4 out of 8 rated this helpful - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.