The password value is defined but cannot be changed by the user. The user should not be able to see the password on the screen. However, you might be able to View Source to see the value in the HTML document source. Don't rely on this for hiding passwords in pages and assume that users will discretely ignore them. You might as well publish the password in the page heading.
See also: | Input.readOnly, TEXTAREA.readOnly, TextCell.readOnly |
Prev | Home | Next |
Password.maxLength | Up | Password.select() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |