Keygen type property
Example
Return the type of the keygen field in the form element:
var x = document.getElementById("myKeygen").type;
x Output result:
keygen
Try it »
Definition and Usage
The type property returns the field type of the form element.
For the keygen field, the property always returns "keygen".
Note: This property is read-only.
Browser support

All major browsers support the disabled property, except Internet Explorer.
Syntax
keygenObject
.type
Technical Details
| Return value: | String, representing the type of the keygen field in the form element. |
|---|
Keygen Object