i have a javascript prompt box coming up i wan to use this for authentication, so i want the password entered to be masked, but i cannot find an option for this ? is it possible to do this ?
Do not use JavaScript as authentication, as it is easy to turn off javascript, and it is easy to modify it with FireBug or equal tools.
Use HTTP Authentication (HTTP 401) or some serverside script and HTML forms instead.