THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

Output type Property

Output Object Reference Output Object

Example

Find out which HTML element the Output object represents:

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

The result of x will be:

output
Try it yourself »

Definition and Usage

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 Reference Output Object