Say I was using a prompt to get somebodies username, and then their password. Is it possible to make the characters hidden, like a conventional password box?
Or how would I do two, like when you log into cpanel :D
Sorry if it's a bit vague :)
Printable View
Say I was using a prompt to get somebodies username, and then their password. Is it possible to make the characters hidden, like a conventional password box?
Or how would I do two, like when you log into cpanel :D
Sorry if it's a bit vague :)
I'm not sure if you can do that with javascript. I think you might need to use htacess or something.
I thought so.
Is there anyway I can hide the characters in a prompt box though?
Even if you could, I would imagine it would be quite insecure as the password is probably stored within the javascript, which is freely available via view source? I've done a bit of research on the net and found that the easiest way would be to make a popup window with no toolbars and display a form, so it looks like a prompt box.
Apache .htpasswd ;).
Ah right, I wouldn't have a clue how to do that. Try asking on a proper web development forum :)
http://us2.php.net/features.http-auth ;)
http styled auth.
Couldn't you modify one of those scripts that change the text that you put into a text box to something else, but keep the value?
Something like on peteranswers.com (when typing in the petition press . then type in the answer to your question and it will appear like you're typing a "petition" but you're not :P) - not sure if it works in firefox