Output form Property
Example
Get the id of the form containing the <output> element:
var x = document.getElementById("myOutput").form.id;
Try it Yourself »
Description
The form property returns a reference to the form containing the <output> element.
This property returns a form object on success.
Note: This property is read only.
Browser Support
The numbers in the table specify the first browser version that fully supports the property.
Property | |||||
---|---|---|---|---|---|
form | 10.0 | Not supported | 4.0 | 5.1 | 11.0 |
Syntax
outputObject.form
Technical Details
Return Value: | A reference to the <form> element containing the <output> element. If the <output> element is not in a form, null is returned |
---|
❮ Output Object
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.