Name

Password — a text input field for sensitive data

Availability

Client-side JavaScript 1.0; enhanced in JavaScript 1.1

Inherits From

Input, HTMLElement

Synopsis

form.name
                     form.elements[i]

Properties

Password inherits properties from Input and HTMLElement and defines or overrides the following:

value

User input to the Password object. JavaScript 1.0; modified in JavaScript 1.2.

Methods

Password inherits methods from Input and HTMLElement.

Event Handlers

Password inherits methods from Input and HTMLElement.

Get Webmaster in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.