Output type eigenschap

Definitie en gebruik

type Eigenschap retourneert Output Object Vertegenwoordigd elementtype.

Voor het output-object zal deze eigenschap altijd "output" teruggeven.

Meer informatie:

HTML Referentie Handboek:HTML <output> Tag

Voorbeeld

Vind het HTML-element dat het Output-object vertegenwoordigt:

var x = document.getElementById("myOutput").type;

Try It Yourself

Syntax

outputObject.type

Technical Details

Return Value: String value, representing the HTML element represented by the Output object.

Browser Support

The numbers in the table indicate the first browser version to fully support this property.

Chrome Edge Firefox Safari Opera
Chrome Edge Firefox Safari Opera
10.0 Not Supported 4.0 5.1 11.0