Password form Property
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





All major browsers support the form attribute
Example
Example
The following example gets the id of the form to which the password field belongs:
Try it »
Password Object