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

for attribute | htmlFor property

Sets or retrieves the object that is bound to the event script.

Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5

Syntax

HTML<element for="p" ... >
JavaScript

p = object.htmlFor

Property values

Type: String

A scripting object or an object identifier that is bound to the event script.

Standards information

See also

script

 

 

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.