You'd hopefully send it off to some server-side language (php, python, ruby etc) for processing. I think the OP just wanted a password box in html.
On 8/30/2011 5:16 PM, Jeff Bishop wrote:
Hmmm, how would the page know if the password is correct? -----Original Message----- From: programmingblind-bounce@xxxxxxxxxxxxx [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Littlefield, Tyler Sent: Tuesday, August 30, 2011 4:13 PM To: programmingblind@xxxxxxxxxxxxx Subject: Re: Asking for a password in html The javascript doesn't have anything to do with it. I seen the message where Sina corrected himself, but you want the input type to be password, which doesn't require any Javascript at all. On 8/30/2011 5:11 PM, Jeff Bishop wrote:Unless you are going to check the password on the server side doing this won't stop most users as they can view the JavaScript of the page. -----Original Message----- From: programmingblind-bounce@xxxxxxxxxxxxx [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Littlefield, Tyler Sent: Tuesday, August 30, 2011 4:09 PM To: programmingblind@xxxxxxxxxxxxx Subject: Re: Asking for a password in html um, hidden? no. You want a password. On 8/30/2011 4:56 PM, Sina Bahram wrote:<input type="hidden". Take care, Sina -----Original Message----- From: programmingblind-bounce@xxxxxxxxxxxxx [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of John J. Boyer Sent: Tuesday, August 30, 2011 5:23 PM To: programmingblind@xxxxxxxxxxxxx Subject: Asking for a password in html I am thinking of setting up a web page so people can upload files. However, I want to require a password. How does one ask for a password in html? Of course when the user types one it shouldn't appear on the screen. At most asterisks should appear. Thanks, John
-- Take care, Ty my website: http://tds-solutions.net my blog: http://tds-solutions.net/blog skype: st8amnd127 My programs don't have bugs; they're randomly added features! __________View the list's information and change your settings at //www.freelists.org/list/programmingblind