javascript label_Object htmlFor
@March 15, 2008, 1:22 a.m.
htmlFor | Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1 |
Read/Write | |
Provides the element id of the input element to which the label is associated (the value of the for attribute). Binds the label element to a particular input element. |
|
Example | |
document.getElementById("label3").htmlFor = "chkbox3"; |
|
Value | |
String. |
|
Default | |
None. |
Permanent URL:
http://javascript.gakaa.com/label-1-object-htmlfor.aspx
Powered by Linode.