Get the id of the form containing the <output> element:
The result of x will be:
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.
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 |
Return Value: | A reference to the <form> element containing the <output> element. If the <output> element is not in a form, null is returned |
---|