Output htmlFor Property
Example
Get the relationship between the result of the calculation, and the elements used in the calculation:
var x = document.getElementById("myOutput").htmlFor;
Try it Yourself »
Description
The htmlFor property returns the value of the for attribute of an <output> element.
The for attribute specifies the relationship between the result of the calculation, and the elements used in the calculation.
Note: This property is read-only.
Browser Support
The numbers in the table specify the first browser version that fully supports the property.
Property | |||||
---|---|---|---|---|---|
htmlFor | 10.0 | Not supported | 4.0 | 5.1 | 11.0 |
Syntax
outputObject.htmlFor
Technical Details
Return Value: | A reference to the relationship between the result of the calculation, and the elements used in the calculation |
---|
Related Pages
HTML reference: HTML <output> for attribute
❮ Output Object
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.