Keygen typeProperty
Examples
Return the type of the keygen field of the form element:
var x = document.getElementById("myKeygen").type;
xOutput:
keygen
Try it yourself »
Definition and Usage
The type property returns the type of the form element's field.
For a keygen field, this property always returns "keygen".
Note:This property is read-only.
Browser Support
![]()
All main browsers support the disabled property, except Internet Explorer.
Syntax
keygenObject.type
Technical Details
| Return Value: | A string representing the type of the keygen field of the form element. |
|---|
Other Extensions
Keygen Object