Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Keygen form property

Keygen form property

Keygen Object Reference Keygen Object

Example

Return the form containing The id of the form element:

var x = document.getElementById("myKeygen").form.id;

x The output result is:

myForm

Try it »


Definition and Usage

The form property returns the form that contains the keygen field.

On success, the form property returns the form object.

Note: This property is read-only.


Browser support

Internet Explorer Firefox Opera Google Chrome Safari

All major browsers support the form property, except Internet Explorer.


Syntax

keygenObject

.form

Technical description

Return value: The form element that contains the keygen field. If it does not contain a keygen field, it returns null.

Keygen Object Reference Keygen Object