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

HTML DOM Password form Property

Password form Property

Password Object Reference Password Object


Definition and Usage

The form property returns a reference to the form that contains the password field.

This property returns a form object.

Syntax

passwordObject.form


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the form attribute


Example

Example

The following example gets the id of the form to which the password field belongs:

Runoob Tutorial(runoob.com)

Password:

 

Try it »


Password Object Reference Password Object