Output type attribute
Definition and Usage
type
Property returns Output object The type of the element represented.
For the output object, this property will always return "output".
See also:
HTML Reference Manual:HTML <output>-Tag
Example
Find the HTML element represented by the Output object:
var x = document.getElementById("myOutput").type;
Syntax
outputObject.type
Technische Details
Rückgabewert: | Zeichenfolgenwert, der den HTML-Element darstellt, das vom Output-Objekt repräsentiert wird. |
---|
Browser-Unterstützung
Die in der Tabelle genannten Zahlen geben die erste vollständige Unterstützung für das Attribut durch den Browser an.
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
10.0 | Nicht unterstützt | 4.0 | 5.1 | 11.0 |