SCRIPT.htmlFor (Property)

The element ID associated with the FOR="..." HTML tag attribute in the <SCRIPT> tag.


DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-mySCRIPT.htmlFor

Scripts can be bound to a named document element object. This returns the ID value for the HTML element to which the script object is bound.


Property attributes: