Output type Property
Example
Find out which HTML element the Output object represents:
var x = document.getElementById("myOutput").type;
Try it Yourself »
Description
The type property returns which type of element the Output object represents.
For an Output object, this property will always return "output".
Browser Support
The numbers in the table specify the first browser version that fully supports the property.
Property | |||||
---|---|---|---|---|---|
type | 10.0 | Not supported | 4.0 | 5.1 | 11.0 |
Syntax
outputObject.type
Technical Details
Return Value: | A String, representing the HTML element the Output object represents |
---|
❮ Output Object
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.