htmlFor

This property is used to define the elements the script is bound to when a specific event is fired and returns the elementID assigned to the FOR attribute of a SCRIPT element.

syntax:

document.all.scripts[0].htmlFor

This Property is used to access attributes of the following:

LABEL
SCRIPT