THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

Keygen type Property

Keygen Object Reference Keygen Object

Example

Return which type of form element the keygen field is:

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

The result of x will be:

keygen
Try it Yourself »

Definition and Usage

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