Keygen type Property
Example
Return which type of form element the keygen field is:
var x = document.getElementById("myKeygen").type;
Try it Yourself »
Description
The type property returns which type of form element a keygen field is.
For a keygen field, this property will always return "keygen".
Note: This property is read only.
Browser Support
Property | |||||
---|---|---|---|---|---|
type | Yes | Not supported | Yes | Yes | Yes |
Syntax
keygenObject.type
Technical Details
Return Value: | A String, representing the type of form element the keygen field is |
---|
❮ Keygen Object