Latest web development tutorials

Keygen type property

Keygen Object Reference Keygen objects

Examples

The return type form element keygen field:

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

x output:

keygen

try it"

Definitions and use

type property returns form element field field types.

For keygen field, property always returns "keygen".

Note: This property is read-only.


Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support disabled property, in addition to Internet Explorer.


grammar

keygenObject .type

technical details

return value: A string representing the type of form element keygen field.


Keygen Object Reference Keygen objects